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

Mapping AD groups to roles without custom role provider (.NET MVC)

I'm looking for a simple and intuitive (for future maintainers) way to map Active Directory groups to roles/permissions in my ASP.NET MVC application that uses Windows Auth. Similar to this question ASP.NET MVC Roles without database (and without…
Guran
  • 414
  • 2
  • 8
0
votes
1 answer

Grant role to SQL Server database user to create user and grant/alter role, but restrict to alter db objects

Our application needs two types of users (every app users need their own credentials for database access) Admin General user We have created a user General User with the following permissions: Can browse stored procedures/function, but not…
aadhikari
  • 1
  • 3
0
votes
1 answer

Polls display according to Role selected in liferay

In liferay, the question selected by Admin in the Polls Display Portlet is displayed to the users. Now what I want to do is, display different question the users with different site Roles. Eg., role1 is assigned to userGroup1 and role2 is assigned…
User14141111
  • 355
  • 2
  • 19
0
votes
1 answer

Running IE as different users with Protractor

The application I am testing appears (hides and displays menu options) differently for the users with different Active Directory roles assigned to them. So this is what I am trying to automate, Launch IE as a user 1 - let's call it browser 1…
0
votes
1 answer

Is it Possible to have ASP.NET role based form authentication and authorization without web.sitemap?

I have made an ASP.NET 4.5.2 web form application. Recently I implemented role based form authentication and authorization by following this article. In this article, the writer used a web.sitemap file. Here is the web.sitemap file I made by…
0
votes
2 answers

How to Show WP Plugin Menu for Editor User Roles in WordPress

I'm trying to show my plugin menu / options page for the "Editor" role, but it's not showing up. How to solve this ? Thank you. Here's my code : function jowct_add_plugin_for_editors(){ if (!current_user_can('manage_options')) { …
jojoi
  • 23
  • 1
  • 10
0
votes
1 answer

Suddenly no access to mysql table in Dreamfactory

The Problem I am building an application with Dreamfactory 2.7.0. It is deployed with bitnami/docker on my local machine (MacOS). There are some tables and some relations between them. POSTing and GETting data has been no problem up until now. The…
0
votes
2 answers

list the api in swagger based on user roles

I have a requirement where I want to list the api methods in swagger based on user roles. For example :- User A with basic access can use limited api methods. User B with Admin access can use all the listed api methods. I don't know how to…
0
votes
1 answer

BI Publisher / PeopleSoft Security Roles Report

Hey I am trying to create a report to display in a matrix type format the navigations and permissions that a user has. I already have a query set up that correctly gets the path associated with each user. I am having trouble creating the XML / BI…
0
votes
2 answers

How to solve windows security window prompt for Authorization failed in mvc

My Question: When user doesn't have Manager Role and Admin Role, I have to redirect to error page/some popup message. But when I checked if authorize "false" continuously windows security password windows its showing. When I entered user name and…
SENA
  • 119
  • 1
  • 2
  • 16
0
votes
1 answer

MVC Webapp hide/show website tabs with Azure AD Roles

I have an MVC WebApp where I am successfully authenticating and pulling Azure AD Roles into my app. How can I show or hide navbar tabs like 'home' 'about' and so on in my _Layout.cshtml file, based on that role? I can authorize pages in the…
Alex
  • 175
  • 1
  • 3
  • 10
0
votes
1 answer

Display specific content for target audiences depending on Member Group Extending Umbraco

Is it possible to display specific content for target audiences depending on Member Group? Current "Public Access" mechanism allows us to provide role based restrictions for the selected page. In this case we would be able to create number of…
Samuel Silva
  • 43
  • 1
  • 9
0
votes
1 answer

PHP Users and Roles Permission to call Controller, do Action with objects

We are building a database management system in water resources which will be managed by many users and access by public users. In our system, we manage the objects (Channel, Weirs, Borehole...) and their properties. We would to build a function…
askmacos
  • 1
  • 1
  • 1
0
votes
1 answer

Symfony disable form fields depending on user rol

I'm developing an app in symfony for follow the workflow of a document. In the lifecycle of the document, take part various departments, I mean, people of each department with his own role inside de app (ROLE_USER, ROLE_SYSTEMS...). I have the same…
0
votes
0 answers

java a simple login system with user roles

im new to programming, java, mysql and everything. :) the point is, i've been trying to develop a normal form but with different user roles as admin and manager with a combo box in the login form, i have no idea how to code. btw the given user name…
Roshan Zaid
  • 336
  • 1
  • 4
  • 21