Questions tagged [role]
396 questions
0
votes
1 answer
Html 5 + css3 two sidebars with three selectors: role v.s class?
I decided to get completely rid of all ids in my CSS and in addition to that I want to begin transition to HTML 5.
Old Markup where .sidebar is the selector for both sidebars and the ID's are uses to style the sidebars individually
0
votes
2 answers
MVC3 - User Logon and Redirected based on their role
My challenge is to redirect a user to their Area based on their Role
I placed an arrow to redirect to one area but I need to place an exception to handle another area if Role is not this Role type.
How would I modify the default LogOn Controller…

J0NNY ZER0
- 707
- 2
- 13
- 32
0
votes
1 answer
asp.net-MVC Edit GridDate based on the role
I've a datagrid to show employee particular but i need to set a logic where
if Role=Manager then show all the employee and if Role=Employee show only 1 data which belong to him. Below is my code to show the employee. I managed to show all employee.…

chinna_82
- 6,353
- 17
- 79
- 134
0
votes
1 answer
How to control user role selection in asp.net
I am working on asp.net for my website. Actually my site have two types of roles admin and user. I saw in asp.net development site at create new wizard user have a selection for roles like admin and user but if a crazy user may select admin role…

Karthik Bammidi
- 1,851
- 9
- 31
- 65
0
votes
1 answer
Wordpress: Conditionally role change basis on post count
Since almost 4-5 months I am trying to solve this issue where user role automatic change with certain number of post count. Say if x user have <= 10 post he/she is in contributor role if <=20 author role so on..
With help of you all people I could…

Code Lover
- 8,099
- 20
- 84
- 154
0
votes
1 answer
Hide and show navigator menu items, buttons and anchors using ACL
I am using ACL to grant resources to roles in the system, the allowed actions is excuted and denied actions are routed to custom page, I want to show and hide menu elements at run time using resources at ACL, and also I want to show and hide…

palAlaa
- 9,500
- 33
- 107
- 166
0
votes
1 answer
How to make asp.net control conditionally display based on user role?
I looked at the other questions concerning this topic, but could not get the solution to work, here is what I have from the other answer:
User options pan…

Bill Software Engineer
- 7,362
- 23
- 91
- 174
0
votes
1 answer
Symfony2 ACL check always returns FALSE
SOLUTION
Well, that's what I get when I use a bit oldish Symfony2 release (2.0-RC6). It seems that there was a bug in __construct of RoleSecurityIdentity (reported back in December '10).
Instead of instance of Role it should be instance of…

Jovan Perovic
- 19,846
- 5
- 44
- 85
-1
votes
1 answer
lock the application role if users enter wrong password more than three times
I have a winform C# application which uses sql server 2005 express.
I am using application role to grant user to access the database.
A Form opens asking for username & password from the user.
This username & password is of the application role…

sqlchild
- 8,754
- 28
- 105
- 167
-1
votes
1 answer
Display role name on my_account page WooCommerce
I use this code in functions.php to display user role in woocommerce My-Account page (Welcome user...etc.):
function get_user_role() {
global $current_user;
$user_roles = $current_user->roles;
$user_role = array_shift($user_roles);
…

Max Alexev
- 11
- 4
-1
votes
1 answer
Allow a role to create objects in tablespaces
I am trying to assign to the role "computer" the permission to create objects in any less tablespace in the SYSTEM tablespace.
Thank you very much and I hope I have explained correctly.
I have tried the following query:
GRANT CREATE ON ANY…

Randomuser1204281
- 15
- 5
-1
votes
1 answer
laravel 5.1 role module permissions
I have lot of modules, each module have one controller, each controller have create,view,delete, edit methods.now assign permissions to roles.each permission have 4 sub permissions. how to control methods in a controller.

sriram p
- 1
- 2
-1
votes
1 answer
Spring Security with only one role?
I'm making an Spring MVC application, with some users but only ONE role for all (user_role). Do you think is necessary to implement Spring Security even taking only one role in my application?
Thanks,

Luisao
- 455
- 2
- 9
- 20
-1
votes
1 answer
How to do local debug step by step in worker role of azure application?
When I was trying to do local debug, unable to trace line by line since I have multiple projects and references are not been called from one to another.
Please provide help at the earliest.
Thanks,
Bujji Babu P.
-1
votes
1 answer
use WCF service By ( windows form and android ) client
At first I will describe my Current project and then ask Question.
1- Implementation Methodology : I developed project in WCF service on server side and have windows form and android client. I'm using dot net 3.5 and WebServiceHost and…

amin
- 561
- 6
- 18