Questions tagged [role]

396 questions
6
votes
2 answers

ServicePointManager.DefaultConnectionLimit in Worker Role

Just learning about Windows Azure at the moment. I'm looking at a few samples and in the OnStart Event of a worker role I see ServicePointManager.DefaultConnectionLimit = 5; I do not understand the relevance of this. In your worker role, you can…
TheWommies
  • 4,922
  • 11
  • 61
  • 79
5
votes
1 answer

Java: Spring security 3 Role hierarchy

I am using Spring framework mvc 3 + spring security 3. I would like to enable role hierarchy in my spring security. According to http://static.springsource.org/spring-security/site/docs/3.1.x/reference/authz-arch.html i should write
Tw1sty
  • 373
  • 7
  • 16
5
votes
1 answer

Postgres: how to grant an user to add more users to a group

So I know in postgres a group is nothing but a role. But I'll still use groups here. Say I created a group called my_group as superuser. I am user user_1. I want to give user_1 permission to add more users into my_group. What is the command I…
perryzheng
  • 199
  • 1
  • 8
5
votes
3 answers

Why does a Perl 6 Str do the Positional role, and how can I change []?

I'm playing around with a positional interface for strings. I'm aware of How can I slice a string like Python does in Perl 6?, but I was curious if I could make this thing work just for giggles. I came up with this example. Reading positions is…
brian d foy
  • 129,424
  • 31
  • 207
  • 592
5
votes
3 answers

AWS CLI in Windows EC2 cannot use role to access S3

I am very new to AWS. I created an IAM role which has full access to S3. I assigned this role to a Windows Server EC2 instance. I then installed CLI on that instance. I then remoted into that instance using RDP, and started a CMD windows, and typed…
5
votes
3 answers

Moose::Role - easy way to augment application of the role?

I have a Moose::Role that I would like to call some extra subs on the class when that role is applied to the class. Is there an easy way to modify what happens when the role is applied, without having to dig too much into Moose::Meta::Role type…
Carl
  • 7,538
  • 1
  • 40
  • 64
5
votes
1 answer

Is it possible to apply an other tag to a dependency role?

I have a playbook like that, with one role per client. - hosts: hosting roles: - { role: client1, tags: ['client1'] } - { role: client2, tags: ['client2'] } And on each role, I have a dependency on nginx for…
elhostis
  • 1,067
  • 14
  • 32
5
votes
2 answers

How can I grant datareader to a sql role?

Is it possible to grant the datareader privileges to a SQL Server Database Role rather than a User?
Rory
  • 40,559
  • 52
  • 175
  • 261
5
votes
1 answer

role based access control in node js

I am developing a web portal using Angular JS and node.js and I have been researching to find a library in node.js which provides role based access control. All the libraries which are currently available such connect-roles, ACL etc provide page…
Sashi
  • 135
  • 2
  • 11
5
votes
6 answers

get role of user in a string variable

is there a way i can get the role in a string variable using the below commands.... System.Security.Principal.WindowsIdentity wi = System.Security.Principal.WindowsIdentity.GetCurrent(); System.Security.Principal.WindowsPrincipal wp = new…
user175084
  • 4,550
  • 28
  • 114
  • 169
5
votes
1 answer

Multiple aria role "navigation" and "complementary"?

In a document, there are multiple
5
votes
6 answers

Unable to view Server Status,Manager App page in Tomcat : Doesn't accept the username and password,why is it so?

I am unable to view the server status and Manager App page in Tomcat. Though I configured the username and password in tomcat-users.xml,it doesn't accept the combination and shows this message : 401 Unauthorized You are not authorized to view…
Suhail Gupta
  • 22,386
  • 64
  • 200
  • 328
5
votes
1 answer

Windows Azure Role Unresponsive

I have a worker role wherein a number of threads run to handle connections from clients. During load testing, we've noticed that the role becomes unresponsive, and stays in that state until we restart it. Looking at it in the visual studio debugger…
Irwin
  • 12,551
  • 11
  • 67
  • 97
4
votes
2 answers

Wordpress: Change user role conditionally

I am creating a Wordpress website for multi author and want to set user role as per article submission. Means if any user have 0-10 article they will go to Contributor role, if 11-30 will go to Author role if 31-100 will go to Editor role. Also I…
Code Lover
  • 8,099
  • 20
  • 84
  • 154
4
votes
2 answers

Grails + spring-security-core: How to assign a role after user has logged in?

I have a grails application that uses spring-security-core and spring-security-ldap, with authentication against Active Directory. I have a custom UserDetails and UserDetailsContextMapper. I have a use case where a user can temporarily take on…
Ben
  • 152
  • 2
  • 8
1 2
3
26 27