roles Questions

2

Solved

I am using the Keycloak Admin Client library to attempt to create a user and then add a client role to that created user. I am creating the user with no problems, however when I am trying to assign...
Mulligatawny asked 5/3, 2018 at 12:13

5

Solved

I know how to create user, group and role in AWS IAM. I can also attach policies to each of them. For example, after selecting a group, you can go to permissions tab, and attach some policies to i...

5

Solved

I have trouble connecting to my own postgres db on a local server. I googled some similar problems and came up with this manual https://help.ubuntu.com/stable/serverguide/postgresql.html so: pg_hba...
Selig asked 7/2, 2016 at 14:37

5

Solved

I 'm using Identity 2 for authentication in mvc 5 web site. In my view i want check the role of the user : @if(User.IsInRole("Customers")) { @*do something*@ } but this always return false, I ...
Unicycle asked 21/5, 2015 at 9:4

13

Solved

When I input any code in this function (e.g. console.log();) and click "Save", an error occurs: The provided execution role does not have permissions to call DescribeNetworkInterfaces on...
Hoe asked 16/12, 2016 at 5:45

11

Solved

Can anyone tell me, what's the real difference between group and role? I've been trying to figure this out for some time now and the more information I read, the more I get the sense that this is b...
Warr asked 14/10, 2011 at 16:34

5

Solved

I would like to ask, if somebody knows, why there are no roles within the user details in REST ADMIN API request. I saw some posts dealing with this topic, but there were either no clear answer or ...
Geriatric asked 26/1, 2018 at 8:50

8

I'm pretty much confused about root user,super user,user and permissions! I am not able to create a database inside user "athleticu". Following are the commands I used:- athleticu@ip-172-...
Stroganoff asked 2/5, 2017 at 9:39

6

Solved

I'm working in this Laravel project which has this structure users: id | first_name |... roles: id | name assigned_roles: id | user_id | role_id I think this is quite obvious :p User model cl...
Besprent asked 18/3, 2014 at 17:57

9

Solved

I have a controller and I want two roles to be able to access it. 1-admin OR 2-moderator I know you can do [Authorize(Roles="admin, moderators")] but I have my roles in an enum. With the enum I ca...
Tahsildar asked 18/7, 2009 at 19:5

8

Solved

I keep seeing role attributes in some people's work. I use it too, but I'm not sure about its effect. For example: <header id="header" role="banner"> Header stuff in here...
Niggling asked 1/5, 2012 at 10:11

13

Right now I decorate a method like this to allow "members" to access my controller action [Authorize(Roles="members")] How do I allow more than one role? For example the following does not work ...
Humoresque asked 31/3, 2009 at 5:49

3

I found this controller method that helps filtering access with a role name : $this->denyAccessUnlessGranted('ROLE_EDIT', $item, 'You cannot edit this item.'); Is it possible to use the same ...
Kuwait asked 12/1, 2016 at 15:58

2

Solved

I've installed Debian 7 and just executed sudo apt-get update and got this error: Sorry, user xsma is not allowed to execute '/usr/bin/apt-get update' as root on ACS.ACS my user is "xsma" and "...
Palatable asked 19/4, 2014 at 0:26

3

Solved

Here's what I was doing before the error occurred I'm trying to assign a role for a user from my users and roles table in a new table called `role_users'. Role.php model class Role extends Model...
Available asked 20/12, 2016 at 15:19

1

A question from yesterday had a definition of HList (from the HList package) that uses data families. Basically: data family HList (l :: [*]) data instance HList '[] = HNil newtype instance HList ...
Peipeiffer asked 15/12, 2016 at 6:50

4

Solved

I have a webpage and I have managed to keep few accordions in it as well. Since I have given "role"="button" on accordions, my accordions are read as 'button' during accessibility testing. What s...
Inter asked 28/11, 2018 at 7:41

7

Solved

I created a role based menu for which I followed this tutorial. Some where down that page you'll see this line of code: String[] roles = Roles.GetRolesForUser(); It returns all roles of the cur...
Thaddeusthaddus asked 10/2, 2014 at 22:7

8

Solved

Is there a super UNIX like "root" user for MongoDB? I've been looking at http://docs.mongodb.org/manual/reference/user-privileges/ and have tried many combinations, but they all seem to lack in an ...
Batchelor asked 21/11, 2013 at 9:32

6

Solved

I was trying to delete PostgreSQL user: DROP USER ryan; I received this error: Error in query: ERROR: role "ryan" cannot be dropped because some objects depend on it DETAIL: privileges for dat...
Babbette asked 10/7, 2018 at 2:28

2

Solved

By default, any kubernetes pod on AWS EKS can assume the IAM role of the underlying node. That means all containers immediately get access to policies such as AmazonEKSWorkerNodePolicy and AmazonEC...
Shoplifter asked 5/2, 2021 at 19:6

3

Solved

When I add an appRoles section to my application manifest in Azure AD, I can assign users and groups to roles in the management portal. "appRoles": [ { "allowedMemberTypes": [ "User" ], "des...
Wheatley asked 20/10, 2015 at 17:8

4

Are there any actively maintained plugins out there which would help me create a Flask app with role based access control? e.g. admin role, accounting role, hr role... Flask-User looks good, but th...
Mazy asked 23/8, 2020 at 16:36

1

We have a nest application that should implement rbac. I added a basic guard and decorator for it based on the guard docs: https://docs.nestjs.com/guards. The problem: This only allows static roles...
Vortex asked 3/10, 2019 at 13:51

1

Solved

Should the following work in Raku: my role R[::T] { has T $!a; method m ( T $v ) { $!a = $v; } method n ( --> T ) { $!a; } } my class C does R[Str] { } my C $c = C.new; $c.m: 'hello'; $...
Circumvent asked 20/9, 2022 at 0:40

© 2022 - 2024 — McMap. All rights reserved.