Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Associating operations with entity types #2

Open
degree451 opened this issue Jan 22, 2010 · 0 comments
Open

Associating operations with entity types #2

degree451 opened this issue Jan 22, 2010 · 0 comments

Comments

@degree451
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant