User guide
An overview of zenphoto users (Rights management) July 15th, 2008
Zenphoto has several classes of user. Each is endowed with different capabilities. This article will attempt to summarize them.
A. Guest users
User names and passwords for guest users are assigned by an administrator. The user name is optional. That is it is allowed to be empty and users logging in will only enter the password. There are three categories of guest user in each case, if there is a password assigned, a login is required to view the object. Password protection is inherited. If the gallery is protected, that protectes all albums in the gallery as well as the search page. If an album is protected all of its subalbums are protected as well.
If a password is applied to an album (subalbum) this password takes precidence over any parent password. What this means is that you must know the password to view the album but you would not need to know a higher level password if you have a direct link to the album.
- Gallery guest user: This username/password is set on the Options-Gallery Configuration tab. When set, the entire gallery is protected and viewers must login to view anything.
- Search page guest user: This username/password is set on the Options-Gallery Configuration tab. When set, search results are protected and viewers must login to view them.
- Album guest user: This username/password is set in the edit tab for the album in question. Viewers must login to view this album or its subalbums.
- Protected image guest user: This username/password is set in the Options-Image display tab. When these are set and image protection is set ot protected, viewers will be required to login to view the full sized image.
B. Admin users
Admin users are granted rights when their user/password is assigned. This is done on the Options-Admin Login Information tab. The rights assigned control the privileges the user has.
- Admin rights: This is kind of a master privilege. A user with these rights can do anything. (No matter what the other rights might say!)
- Options rights: Allows the user to make changes on the options tabs. (All admin users may modify their own login credentials.)
- Tags rights: Allows the user to make additions and changes to the set of tags.
- Albums rights: allows the user to view/make edit tab changes to the albums checked in his managed albums list.
- News rights: Users with this right are able to edit and manage Zenpagearticles, and categories. Of course, this presumes that the Zenpage plugin is enabled.
- Pages rights: Users with this right are able to edit and manage Zenpage pages. Of course, this presumes that the Zenpage plugin is enabled.
- Themes rights: allows the admin to view/make themes related changes. These are limited to the albums checked in his managed albums list.
- Manage all albums rights: Administrators who do not have User Admin rights normally are restricted to manage only objects to which they have been assigned. This right allows them to manage any album in the gallery.
- Manage all news rights: Administrators who do not have User Admin rights normally are restricted to manage only objects to which they have been assigned. This right allows them to manage any Zenpage news article or category.
- Manage all pages rights: Administrators who do not have User Admin rights normally are restricted to manage only objects to which they have been assigned. This right allows them to manage any Zenpage page.
- Comment rights: Allows the user to make comments tab changes to the albums checked in his managed albums list.
- Post comment rights: When the comment_form plugin is used for comments and its Only members can comment option is set, only users with this right may post comments.
- Upload rights: Allows the user to upload to the albums for which they have management rights.
- Files rights: Allows the user access to filemanager located on the upload: files sub-tab.
- View all rights: Allows the user to view all albums, pages, and news articles. Without this right, the user can view only public ones and those checked in his managed object lists.
- Overview rights: Allows the user to view the admin overview page.
Notes:
- One Admin user will be designated “master”. This user will always have Admin rights even if this privilege is not explicitly assigned. The master user is determined by the rights assigned and the seniority of the user. “Master” status will be assigned to the most senior user from the set of users with the most rights assigned. “Master” status is used to insure that there is at least one user with the rights to manage the entire gallery. If the “master” user is deleted, another user will be promoted to take his place.
- Users without full Admin rights may be assigned objects (albums, pages, news categories) to “manage”. The rights the user has with respect to these objects will depend on the above rights list. These rights can be “reduced” for individual managed albums. Unchecking the “edit” or “upload” boxes will prevent the user from accessing those capabilities.
- Where it makes sense, The rights applied to a managed albums list album also apply to that album’s subalbums.
User management plugins:
user_login-out will allow one to place a logout link (or if no one is logged in a login form) on a theme page. This is the same form that is displayed when the album/gallery/search page is password protected with a guest password. Guest users may login only from this form. Admin users may login from this login form as well as from the http:\\mydomain.com\zenphoto\zp-core\admin.php page.
user_groups provides the addition of user groups and rights templates. When this plugin is enabled a user may be assigned to a group or have his priviledges initially set from a template. In the first case, any change to the priviledges of the group will be reflected on the priviledges of the user.
comment_form adds some fields for address information to the admin user.
ZenPhoto is a product in development. This article describes what exists in current development stream. Not all these features are available in earlier releases.