Permissions are used to control what content visitors of your site are able to see, and what actions members of your site are able to perform.

Account Types
First up are Account Types; there are currently three Account Types:

  • Guest: A visitor who is not logged in to your site.
  • Alliance: A visitor who is logged in to your site as an Alliance member.
  • Member: A visitor who is logged in to your site as a Guild Member.

Account Types set the default permissions for a visitor of your site, so you can easily set what Guests should have access to on your site, along with any logged in members. You can then customize this further by assigning permission roles to members.

Permission Roles
Permission roles are what the bulk of the permission system is based on. A permission role is simply a set of permissions, which you can then assign to members and ranks. For example, you could create a permission role called "Forums Moderator", which grants Moderate permissions to the Forums section of your site, or a "Banker" role that grants the Guild Bank admin privileges.

* Note that each member or rank can only have one permission role assigned to it, so the role needs to be a complete set of permissions for what that member or rank can do (ie the "Banker" role may still want to have some other permissions assigned to it, unless they are strictly accessing the guild bank)

View Levels
The last piece of the permissions system to discuss is View Levels. View Levels allow you more refined control around who can see specific content on your site, such as certain forums, events or images. So for example, you can make a forum for officers only, and specify only the members having a certain View Level can see it.

View Levels work on a scale, with the bottom three view levels automatically assigned to the Account Types (Guest, Alliance, Member). Above these, you can name the other four View Levels and hand them out with your Permission Roles. Again the View Levels operate on a scale, so someone assigned the top view level would be able to see its content, along with all the View Levels below it.

Permissions are Additive
One final note, permissions on Shivtr are additive. This means a user starts with the permissions granted to them by an Account Type, then if they have a Permission Role, those permissions are added to what they are allowed to do; never taken away.

So for example, if you say the Member Account Type can create News, and you create a Permission Role called "Recruit" that does not have the create News permission, and assign it to Snafzg who is a member of your site, Snafzg can still create News, as he received this permission from his account type. If you wanted only some members to create news, you would need to take the create News permission away from the Member Account Type and then add it to say a Permission Role called "Author", and then hand out that permission role to the members who should be allowed to create News.