Questions tagged [role]
396 questions
-2
votes
1 answer
How to assign role to a new user in bootstrap with grails spring security?
In my grails app i am using spring security plugin..I have registration form and registered users will be stored in db table.
in bootstrap i have created new role as,
def PhysicianRole = new Role(authority: 'ROLE_PHYSICIAN').save(flush: true)
Then…

laxmi
- 865
- 6
- 17
- 27
-2
votes
1 answer
ASP.Net UserManager AddRoleTo not working
with VS 2015 I've created a little MVC App with the default authentification stuff.
I've changed nothing but the code in the registration action of the account controller:
var context = new ApplicationDbContext();
if (ModelState.IsValid)
{
var…

Clemens
- 51
- 11
-2
votes
1 answer
Role attribute vs Class
I'm new to the 'role' attribute (ARIA) and I'm afraid I make generally too much use of classes when styling so could someone please explain the 'role' attr. in a dumbed down version (relative to class, where they differ) because the usual technical…

ianquiksilver
- 33
- 2
- 8
-2
votes
1 answer
create Blog with CakePhp but issue with role of users?
when i register with new user its always put null value in database.
also topic to visible/ hide to admin and user.Please Solve it
here is code:
public function add() {
if ($this->request->is('post')) {
$this->User->create();
…
-2
votes
1 answer
RoR specific user roles inside network
I want to setup a app where each user can have different roles inside a network.
So user A is an "admin" in network X, but also a "client" in network Y. Each role has his own capabilities inside the network. E.g. admin can create posts, client can…

Chiel
- 1
-6
votes
2 answers
how to get the currently logged in role symfony?
I want to get the Role of the user currently logged. Because I want to show that in my navbar can somebody help me?
My question is about how to get the current role

Halit Ozdogru
- 3
- 3