Pattern for handling permissions for setting of properties
I have a shared content section that is used for newsitems that can be shown across multiple sites. I have content editors who should only add news for a subset of these sites and would like to restrict them to only having access to post to their subset of sites (and at times restrict editing to the original creator of the content based on the User Type).
So, this is my Content Tree
Site1
NewsPlaceholder
....
....
....
Site5
NewsPlaceholder
Shared
News
Article for Site 1
Article for Site 7
Article for Site 1 & 2
I tried displaying the news Items per site by using the site name and filtering where my NewsItem.Sites property contains the name of the current site (stored as DropDownMultiple )
Where this approach fails is that I cannot seem to find a way to limit which values to allow in my dropdown (per user) where they select the sites that the news item should be available on. I also cannot control who can edit or delete existing news.
Pattern for handling permissions for setting of properties
I have a shared content section that is used for newsitems that can be shown across multiple sites. I have content editors who should only add news for a subset of these sites and would like to restrict them to only having access to post to their subset of sites (and at times restrict editing to the original creator of the content based on the User Type).
So, this is my Content Tree
Site1
.... .... ....
Site5
Shared
I tried displaying the news Items per site by using the site name and filtering where my NewsItem.Sites property contains the name of the current site (stored as DropDownMultiple )
Where this approach fails is that I cannot seem to find a way to limit which values to allow in my dropdown (per user) where they select the sites that the news item should be available on. I also cannot control who can edit or delete existing news.
Any advice / alternatives?
is working on a reply...