rhino-security icon indicating copy to clipboard operation
rhino-security copied to clipboard

Associating operations with entity types

Open degree451 opened this issue 15 years ago • 0 comments

I'd like to map which operations are associated with a specific entity type. For example I have a security dialog that follows the general Microsoft conventions. (see the security dialog in windows explorer for editing folder/files settings) The dialog consists of two lists. The first is a list of groups/users who have access to whatever it is I’m trying to secure. In my domain it’s an entity that represents a folder within my database. There are buttons that allow me to add or remove groups or users from this list. The second list is a static set of permissions (in your domain these would be called operations) that are applicable for the type of entity being edited. I would like to see the ability assign a list of operations to a specific entity type. This would allow me during load up of my security dialog to retrieve this static list of operations specific to the entity (the folder) being edited and list them with checkboxes. I can then utilize the existing methods in your PermissionService for retrieving the currently selected user’s or group’s permissions and check the appropriate operations specific to them.

Perhaps I didn’t understand your model and this is already possible. Thanks, Joey

degree451 avatar Jan 22 '10 08:01 degree451