Questions tagged [role]
396 questions
3
votes
1 answer
Role specific login in Laravel 4
I am logging in the system successfully but
I want that the user whose role is 'Administrator' can only go to all the routes and user having role as 'Manager' can go to 'Home' and 'GetDocumentDetails' else the other login users will be restricted…

Navya
- 657
- 2
- 10
- 20
3
votes
1 answer
Membership Roles in Azure and MVC
I'm developing an ASP.NET MVC3 website and I'm using the Microsoft ASP.NET Universal Providers.
Web.config :

Дария Печайко
- 715
- 5
- 16
3
votes
1 answer
How to find chef node ip by role
I am having a problem. I am trying to get a node IP that's running postgresql and is the replication master. So I can implant the IP to repmgr cookbook so it will automatically set it in to SSH config file. I need it because I am not running SSH on…

cr0c
- 173
- 2
- 10
3
votes
1 answer
Creating custom WAI-ARIA role
I am new to WAI-ARIA. I want to know how can we create a custom role based on the existing roles.
For example, i want to create a custom button role from aria button role. It will be great, if any one provide steps to do so.

user1970033
- 31
- 3
3
votes
1 answer
Azure - Accessing the same blob from worker role as in web role
I'm pretty new in Azure and I want to create a simple .Net application (in C#) with one web role and one worker role to upload and resize images. I've already made a galery in the web role. It creates a blob then uploads the pictures there, then…

CompanyCodeMonkey
- 69
- 1
- 9
3
votes
2 answers
what's the reason of dbms_metadata.get_granted_ddl('SYSTEM_GRANT', 'AQ_ADMINISTRATOR_ROLE') ora-31608 error?
I'd like to get ddls of all roles in the database using dbms_metadata package. Unfortunately dbms_metadata.get_granted_ddl fails with error when there are no grant (object, system or role type) for the role. That's why I have to check the presence…

hotmori
- 91
- 2
- 5
3
votes
3 answers
Multiple roles in Asp.net MVC3
I have an admin site for the admin to create users. Here he has to chose the roles for the user - like the Asp.NET configuration site. I made 3 checkboxes with different roles.
[Authorize(Roles = "Admin")]
[HttpPost]
public ActionResult…

Mrlondon7100
- 75
- 6
2
votes
1 answer
Role Class Model correct implementation
I have been trying to implement a Role Class Model pattern to my website User access mechanism (written in PHP). I have a few doubts though. Here is a simplified version of relevant code:
class User
{
public $role;
public $uid; …

marcinsvr
- 21
- 2
2
votes
1 answer
how to grant role acces to specific schema
I am new to Oracle and i am struggling with the permissions. I created some tables with user called ADMIN on a specific tablespace. The tables are in the schema ADMIN now. I want access this tables from another user called TESTUSER which is in a…

Bins Ich
- 1,822
- 6
- 33
- 47
2
votes
1 answer
Role-based enabling/disabling of controls in asp.net
Currently i m working on a project where there are users with four roles who can access the same pages (there are plenty of pages with nearly 80-90 controls in each :( ).
The requirement is that, depending on each role, the user should be able to…

Amol Kolekar
- 2,307
- 5
- 30
- 45
2
votes
3 answers
Problems with createdb in postgres
I have to run a simulation with several postgresql databases spread on different machines which all of them are running linux.
I successfully compiled and built postgresql from the source code and I can also run the server, but when I try to create…

giulio
- 5,865
- 3
- 22
- 20
2
votes
1 answer
grant role to schema
GRANT ROLE_BLAH_GENERAL TO BLAH_USER
I encountered this error
ORA-01932: ADMIN option not granted for role 'ROLE_BLAH_GENERAL'
Then I reformed the query to
GRANT ROLE_BLAH_GENERAL TO BLAH_USER WITH ADMIN OPTION;
I then encountered
ORA-01932:…

Imran
- 167
- 1
- 1
- 11
2
votes
1 answer
How to get the original Exception in IErrorHandler
I'm using role based security in a WCF application. I've decorated my service operation implementation with the System.Security.Permissions.PrincipalPermissionAttribute.
If the authorization fails then a System.Security.SecurityException gets raised…

Daniel James Bryars
- 4,429
- 3
- 39
- 57
2
votes
4 answers
Security role to user/group mapping in WebSphere 7 with file-based user registry
I am trying to make a form-based authentication.
I configured my deployment descriptor correctly, did all the actions listed in IBM Infocenter related to "enabling user authentication using file-based registry only", mapped my users to appropriate…

Sergey
- 2,880
- 3
- 19
- 29
2
votes
1 answer
Implement requires on other Role doesn't work?
My first Role is the following one:
package AccBack::RTransaction;
use strict;
use warnings;
use Moose::Role;
use MooseX::Method::Signatures;
requires "_log";
requires "_config";
My second Role, which implement the first Role, is the following…

xGhost
- 126
- 6