Jump to:

23023 Posts in 11882 Topics by 2830 members

General Questions

SilverStripe Forums » General Questions » Default Viewer Group for Custom Page Type

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 299 Views
  • obj63mc
    Avatar
    Community Member
    24 Posts

    Default Viewer Group for Custom Page Type Link to this post

    Hello,

    I have a cms setup where we have various categories of content and each category is setup so only Admins and a new specific group can view that category.

    What I want to do though is to set the default Access group to Admins only so that way when an admin creates the new category, all other users won't be able to view it if they don't set up the Access tab by default.

    Basically looking for a short cut to set defaults for the 'Access' tab on the cms so 'Who Can view this Page' is set to 'Only these people' and the group is 'Administrators'. I know you can set defaults of specific variables of the page class with the $defaults variable but can't seem to find one for this.

    TIA,
    Joe

    299 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.