Blasty
-
5/19/2010 1:54:25 PM
Add custom permissions to a particular role?
I'll try to put this in general terms for my question.
I've got a role called "City Managers", and I want all city Managers to be able to do the same things, and I want them all to work with a particular document called for example "City Work Request". And each of these documents naturally have a city they are assigned to.
Well I want one "City Manager" to only work with Orlando, and Boston. And another "City Manager" to also work with Orlando, but that's it.
Or another "City Manager" to only work with Denver, New York, and Vegas.
So when end-users create these "City Work Request" documents, the Orlando ones will only be seen by the orlando City managers.
Outside of kentico, to solve this I'd create a table that has a userID and LocationID, and when a request came in, I'd take the location ID, and pair it up to the userID of the corresponding "City Manager"
How can i do something like this in Kentico? I saw the User Custom Field area, but I don't think that would work, since one user could be a "City manager' for more then one city.
Hope my illustration makes sense of what I'm trying to do. Thanks.
|