Questions tagged [role]
396 questions
9
votes
2 answers
include bootstrap role attribute in rails form helper
Twitter Bootstrap has this role attribute for forms:

crispychicken
- 2,592
- 2
- 33
- 50
8
votes
3 answers
Testing Chef roles and environments
I'm new to Chef and have been using Test Kitchen to test the validity of my cookbooks, which works great. Now I'm trying to ensure that environment-specific attributes are correct on production nodes prior to running Chef initially. These would be…

Dan Stark
- 808
- 1
- 9
- 23
7
votes
1 answer
FATAL: Peer authentication failed for user "rails"
I'm trying to run rake db:create with postgresql on a DigitalOcean server.
However, it's returning the error Peer authentication failed for user "rails", referring to config/database.yml where the credentials to log in are stored
What's strange is…

JackHasaKeyboard
- 1,599
- 1
- 16
- 29
7
votes
1 answer
Bootstrap HTML Validator Warning: Element nav does not need a role attribute
I have insert a menu in my index:

RBNZ
- 79
- 1
- 10
7
votes
3 answers
Allow only author to edit his post in yii2 using ACF
I am using Access Control Filter for access managing, but can't get one thing done - for example, how can I allow just project manager to update project and forbid it to others? I tried it via matchCallback, but in this case all project managers can…

Kristīne Glode
- 1,409
- 4
- 16
- 22
6
votes
3 answers
Is it possible to have one web role with multiple domains and SSL certificates on windows azure?
Is it possible to have one web role hosted on Windows Azure which respond to multiple domains (to be precise 10 -> ex. www.company.com, www.company.de, www.company.co.uk … ect. ) and having both HTTP and HTTPS (SSL certificates) ?
If this is not…

DevUser
- 751
- 2
- 8
- 26
6
votes
1 answer
How to handle: Moo::Role's `before` modifier silently skipped due to circular imports?
Using Moo::Role, I'm finding that circular imports are silently preventing the execution of the before modifier of my method.
I have a Moo::Role in MyRole.pm :
package MyRole;
use Moo::Role;
use MyB;
requires 'the_method';
before the_method => sub {…

Tony E Lewis
- 93
- 5
6
votes
2 answers
How to use java to access dynamodb without access credential on an ec2 instance with IAM role
I want to use Java to access Dynamodb on an Ec2 instance.
This Ec2 instance has been granted a IAM role, with which I can directly access the Dynamodb by using aws CLI: aws dynamodb list-table.
Now I try to access the Dynamodb via Java. The Java…

ouyeyu
- 111
- 1
- 2
- 6
6
votes
2 answers
Are there any examples of sites that use the role attribute in HTML5/XHTML?
I've been looking at the use of the role attribute for HTML5/XHTML in the W3C: http://www.w3.org/TR/wai-aria/roles and was wondering if there are any sites that use this or examples of how/when to use the role attribute.
I understand how it works,…

Hamish Rouse
- 602
- 1
- 7
- 16
6
votes
2 answers
Postgresql: How to grant permission for set role?
There is user 'test_user1'. SET ROLE Command:
SET ROLE test_user1
returns error:
ERROR: permission denied to set role "test_user2"
I couldn't find how to grant permission for SET ROLE.
Thanks in advance.

JulJ
- 107
- 1
- 1
- 8
6
votes
1 answer
How can I use the only directive inline by using role in python-sphinx?
In python-sphinx there is the only directive, which can be used to conditionally influence the document according to its output. For instance text appears in html or latex only.
It is use like this:
.. only:: not latex
Here there is some Text,…

Andreas Gschossmann
- 669
- 1
- 6
- 21
6
votes
4 answers
ad user not able to login even on assiging sitecore\Sitecore Client Users role
I have integrated active directory module with sitecore, I am able to see the users from ad in sitecore user manager. Now i want to verify if the ad user can login to sitecore. I assigned sitecore\Sitecore Client Users role for the user and tried to…

Newbie
- 361
- 2
- 15
- 33
6
votes
1 answer
Programmatically spawn new instances of a worker role
Is it possible to programmatically spawn new instances of a worker role?
I have a worker role that's dependent on some Service Bus queue(s) where it grabs the messages and puts the data into Table Storage, SQL Database and sends out notifications. I…

user2413912
- 579
- 6
- 19
6
votes
4 answers
Asp.net User Roles Management: Where to Begin
I'm new to User Roles Management. I was reading my Wrox Programming book on asp.net 3.5 user role management...but it was hard to follow along, as I do not have a local server set up to test on (I do...but...thats a separate question), but rather…

contactmatt
- 18,116
- 40
- 128
- 186
6
votes
1 answer
role_hierarchy with Symfony2
I have a big problem with my role_hierarchy,
security:
role_hierarchy:
ROLE_ADMIN:[ROLE_USER,ROLE_AUTHOR,ROLE_MODERATOR]
ROLE_SUPER_ADMIN:[ROLE_ADMIN,ROLE_ALLOWED_TO_SWITCH]
with that, if i got the SUPER_ADMIN role, I will got…

Stickly
- 311
- 1
- 2
- 13