Questions tagged [user-roles]

A user role is a group of users that share the same privileges or permissions on a system. Use this tag for questions about how user roles work in a particular security framework, or questions about the implementation of user roles in your program.

A user role is a group of users that share the same privileges or permissions on a system. For example, a blog platform may define a group of platform admins and groups of blog admins, blog editors and blog readers.

The concept is linked to , as a user role is a group of users who share common user permissions. It is common that a system allows users to have several roles, the user then has the union of all the permissions of their roles.

Use this tag for questions about how user roles work in a particular security framework, or questions about the implementation of user roles in your program.

944 questions
0
votes
1 answer

Publishing role names into a table Meteor alanning:roles and aldeed:tabular

I'm having trouble displaying the created roles in a table. I'm using alanning:roles and aldeed:tabular. To create the table I have: TabularTables.RolesAdmin = new Tabular.Table({ name: "Roles", collection: Meteor.roles, pub:"rolesadmin", …
Gerrie van Wyk
  • 679
  • 8
  • 27
0
votes
0 answers

No records shown when using select statement, db_datareader

I have the role db_datareader in SQL server 2008 and I can view all the tables in the object explorer. When I try to write a SELECT statement the query has no problems with executing but I can't see any records. There are just some headers and an…
Ceylon
  • 31
  • 2
0
votes
1 answer

Devise Registration edit by user role?

I've been having an issue fully grasping how to separate my application by user role. My goal is to have a user signup via one registration and to be rooted to a specific root along with specific layout with different devise account information.…
0
votes
1 answer

Meteor alanning:roles - Error invoking Method 'updateRoles': Internal server error [500]

I am trying to set the role for the logged in user (using alanning:roles package) via a method on the server. Here's what I have... Client var userId = Meteor.userId(); Meteor.call('updateRoles',userId,'admin'); And this is the simplified version…
Serks
  • 333
  • 2
  • 21
0
votes
1 answer

DreamFactory 2.0.4

When I send a request to my new DSP I get a 404 GET http://example.com/api/v2/sericename/_table/tablename 404 (Not Found) In the Apache error.log I see ... Got error: PHP message: REST Exception #404 > Role not found ... The role and user are…
0
votes
0 answers

Managing project based user roles with sequelize

I'm using sequelize (postgreSQL) in my node application. Now I'm trying to change my user roles to project based roles. So far it looked like: User.belongsToMany(Project, { through: 'ProjectUser' }), User.belongsToMany(Role, { through: 'RoleUser'…
sking
  • 23
  • 5
0
votes
4 answers

User Roles Permissions Database Design

I have the following database design for Users, Roles & Permissions: Users * ---- * Roles Roles * ---- * Permissions A user may have many roles. A role has many permissions. There is a downside though: What if I want to give a particular special…
levi
  • 3,451
  • 6
  • 50
  • 86
0
votes
1 answer

Does SharePoint provides all the features related to user access permission like view,edit, delete, download document?

I want to use SharePoint for Document Sharing. I want all these features : User access permission settings. User can download Sub document but not main document. One document can contain links for sub documents so I need different permissions for…
0
votes
2 answers

Admin hierarchy

Can any user in Wordpress with full admin privileges (ALL capabilities turned on) be hidden from other users with admin privileges (with comparatively lesser capabilities turned on) in the ‘Users’ area (list_users)? I want to create a sort of…
Mon
  • 59
  • 1
  • 7
0
votes
1 answer

Customise Behaviour On Authorize Failed

I have successfully implemented group based authorization in an MVC application by using the [Authorize(Roles = "Admin")] tags in my controller. However, the default behaviour when a user requests a page they are not authorized to view is to…
Gavin Coates
  • 1,366
  • 1
  • 20
  • 44
0
votes
1 answer

how to create custom capabilities for custom user role

I have create a new user role. add_role('lln_assessor', 'LLN Assessor', array( 'read' => true, )); this role will access a custom admin menu page . add_action( 'admin_init', 'my_remove_menu_pages' ); function my_remove_menu_pages() { global…
gadss
  • 21,687
  • 41
  • 104
  • 154
0
votes
1 answer

create admin menu and page for a custom user role

I am making a custom plugin with custom user role: add_role('lln_assessor', 'LLN Assessor', array( 'read' => true, // true allows this capability 'edit_posts' => true, // Allows user to edit their own posts 'edit_pages' => true, // Allows user to…
gadss
  • 21,687
  • 41
  • 104
  • 154
0
votes
1 answer

Restrict modifications to certain files when building the project with Maven

What is intended is to give everyone access to the source code but to restrict what they modify. So what first came to mind is if there's any way to, when building the plugin/project, some sort of restriction is applied to the files that have been…
CMPSoares
  • 4,175
  • 3
  • 24
  • 42
0
votes
1 answer

Rails, checking roles with Role Model gem

I am trying to make an app with Rails 4. I use bootstrap, devise simple form and role_model gems. profile.rb class Profile < ActiveRecord::Base include RoleModel #reminder for roles (RoleModel): always add new roles to the end of this line -…
Mel
  • 2,481
  • 26
  • 113
  • 273
0
votes
1 answer

laravel 4.2 user roles with auth and Entrust

I look for to make two interface Administrator (Administrator role) Subscriber (subscriber role) I used for now auth and entrust (Github Link) of Laravel 4 A recording User in my SubscriptionContoller.php I make this : public function…
Sourceforest
  • 130
  • 1
  • 9