I\'m on plone 4.1 and I need to create a portal role by code and I cannot find any official reference.
I\'m creating my first ASP.NET MVC 3 app and I have a problem with creating class instance based on user role.
I\'m just trying to get my head around role attributes. Firstly, can someone explain the difference between the following role categories? I\'ve been reading the W3C and it\'s double Dutch to me.
i have array for role selected. and now i want to add that array role to specified user. i have a controller like this :
These Site Map Node is in Web.Config <siteMapNode title=\"Hotel Setup\" roles=\"Administrator,Hotel Admin\">
I would like to run a simple query to get all users of a particular role, the problem is user roles are开发者_JS百科 stored in bitwise numbers using power of 2 pattern.
I would like to use rails new dynamic attr_accessible feature. However each of my user has many roles (i am using declarative authorization). So i have the following in my model:
Suppose ADMINS is a group that has an Administrator role (site-wide). In a different context of the Plone site (/Plone/folder) I would like to use the @@sharing view, and remove all roles from the AD
My app can handle Medics and Patients. So far everyone can login and perform different tasks on the site.
I am trying to come up with the best practice on how to set up roles for my controllers and actions. We have a debate in our office. Should we give one role to the user and decorate our controllers a