Friday, July 15, 2005

Rights Check via Publishing API

CmsContext

  • The rights check given below on CmsContext are side-wide checks.
  • This doesn't depend on PublishingMode.

PropertyUser roles - who have rights on site
UserCanApproveAdministrator, Channel Manager, Template Designer, Moderator, or Editor
UserCanAuthorAdministrator, Channel Manager, Template Designer, Moderator, Editor, or Author
UserCanEditResourcesAdministrator, Channel Manager, Template Designer, or Resource Manager
UserCanEditTemplatesAdministrator, Channel Manager, Template Designer
UserCanModifySiteAdministrator, Channel Manager, Template Designer, Resource Manager, Moderator, Editor, or Author


Channel

  • The checks given below are done on the appropriate channels.
  • Channels can be only modified in Update mode.

PropertyAdditional ChecksUser roles - who have rights on channel
CanCreateChannels-Administrator, Channel Manager, or Template Designer
CanCreatePostings-Administrator, Channel Manager, Template Designer, Moderator, Editor, or Author
CanDelete
  1. Channel must be empty
  2. The root channel cannot be deleted by anyone
Administrator, Channel Manager, or Template Designer
CanSetProperties-Administrator, Channel Manager, or Template Designer


Posting

  • The checks given below are done on those postings.
  • Postings can be only modified in Update mode.

PropertyRights on ChannelPostingStateUser roles - who have rights on posting
CanMove-Approved, EditorDeclined, Expired, ModeratorDeclined, New, None, Published, Saved, WaitingForEditorApproval, WaitingForModeratorApprovalAdministrator, Channel Manager, Template Designer, Moderator, Editor or Author if it is not OwnedBy another user
CanSubmit-New , Saved , Editor Declined , or Moderator DeclinedAdministrator, Channel Manager, Template Designer, Editor or Author if it is not OwnedBy another user
CanDelete-Approved, EditorDeclined, Expired, ModeratorDeclined, New, None, Published, Saved, WaitingForEditorApproval, WaitingForModeratorApprovalAdministrator, Channel manager, Template Designer, Moderator, Editor, or Author if it is not OwnedBy another user
CanSetProperties-Approved, EditorDeclined, Expired, ModeratorDeclined, New, None, Published, Saved, WaitingForEditorApproval, WaitingForModeratorApprovalAdministrator, Channel Manager, Template Designer, Moderator, Editor, or Author if it is not OwnedBy another user
CanApproveOnly Editor RightsNew, Saved, EditorDeclined or WaitingForEditorApprovalAdministrator, Channel Manager, Template Designer, Editor
CanApproveEditor and Moderator RightsModeratorDeclined or WaitingForModeratorApprovalAdministrator, Channel Manager, Template Designer, or Moderator
CanApproveOnly Moderator RightsNew, SavedAdministrator, Channel Manager, Template Designer, or Moderator
CanApproveNo Moderator or Editor RightsNew, Saved, EditorDeclined, WaitingForEditorApproval, WaitingForModeratorApproval or ModeratorDeclinedAdministrator, Channel Manager, Template Designer


TemplateGallery

  • The checks given below are done on the appropriate template galleries.
  • Template Galleries can be only modified in Update mode.

PropertyAdditional ChecksUser roles - who have rights on templategallery
CanCreateTemplateGalleries-Administrator, Channel Manager, or Template Designer
CanCreateTemplates-Administrator, Channel Manager, or Template Designer
CanDelete
  1. TemplateGallery must be empty
  2. The root TemplateGallery cannot be deleted by anyone
Administrator, Channel Manager, or Template Designer
CanMove-Administrator, Channel Manager, or Template Designer
CanSetProperties-Administrator, Channel Manager, or Template Designer


Template

  • The checks given below are done on those templates.
  • Templates can be only modified in Update mode.
PropertyTemplateStateUser roles - who have rights on template
CanMove-Administrator, Channel Manager, or Template Designer if it is not OwnedBy another user
CanSubmitNew, NewShared, Saved or SavedSharedAdministrator, Channel Manager, or Template Designer if it is not OwnedBy another user
CanDelete-Administrator, Channel Manager, or Template Designer if it is not OwnedBy another user
CanUseForAuthoring-Administrator, Channel Manager, Template Designer, Moderator, Editor, or Author
CanSetProperties-Administrator, Channel Manager, or Template Designer if it is not OwnedBy another user


ResourceGallery

  • The checks given below are done on the appropriate resource galleries.
  • Resource Galleries can be only modified in Update mode.

PropertyAdditional ChecksUser roles - who have rights on resourcegallery
CanCreateResources-Administrator, Channel Manager, Template Designer, or Resource Manager
CanDelete
  1. ResourceGallery must be empty
  2. The root ResourceGallery cannot be deleted by anyone
Administrator, Channel Manager, or Template Designer
CanSetProperties-Administrator, Channel Manager, or Template Designer


Resource

  • The checks given below are done on those resources.
  • Resources can be only modified in Update mode.

PropertyUser roles - who have rights on resource
CanSetContentAdministrator, Channel Manager, Template Designer, or Resource Manager
CanDeleteAdministrator, Channel Manager, Template Designer, or Resource Manager
CanUseForAuthoringAdministrator, Channel Manager, Template Designer, Moderator, Editor, or Author
CanSetPropertiesAdministrator, Channel Manager, Template Designer, or Resource Manager


2 Comments:

Blogger stalin said...

I want to Know the in depth knowledge of ildasm and CorDbg..

If u can please send me the theory as well as SampleCoding

8:00 PM  
Blogger Chester said...

Hi,

This is not relevant to this post. Can you please mail me - chestermr@gmail.com

Cheers,
Chester.

11:11 AM  

Post a Comment

<< Home