User Status
The UserStatus information is the primary information used by ProWiki to give the users rights to read, write or use other Commands. UserStatus is hierarchical: a level always includes all rights of all lower levels. Note that rights can also be bound to the individual UserName or to a defined UserGroup.
| UserStatus | UserWeight | comes from | Meaning |
Robot | 50 | Automatic | maybe locked out (to be defined) |
Visitor | 100 | Automatic | not logged in, no user name, anonymous |
User | 200 | Preferences | not logged in, but user name given in "Preferences" |
Login | 250 | Registration & Login | no special rights, a user that has done a Login in some wiki, not necessarily the LocalWiki |
Member | 300 | Registration & Login | to be defined |
Reader | 400 | Registration & Login | right to read (if the wiki isn't open for all) |
Author | 500 | Registration & Login | right to write (if the wiki isn't open for all) |
Editor | 550 | Registration & Login | somewhat more than an Author (to be defined, e. g. Command/ActionPublish) |
Admin | 600 | Registration & Login | rights to administration wikis, add and change user rights |
Owner | 700 | Registration & Login | can create Admins (other special rights are to be defined) |
Supervisor | 800 | Registration & Login | has all rights, is responsible for the whole ProWikiServer, server specific functions become available |
|
|
Example
StatusForEdit assigns the right to edit pages, therefore the Options:
- status.for.edit=Visitor or
- status.for.edit=Admin
in the TopConfiguration open or close the LocalWiki for most users.
The UserStatus is assigned and changed in the UserAdministration. The UserStatus given is valid for the LocalWiki.
With ManualUserAdministration one can give a general user status that is valid for all wikis. For example it is useful that a Supervisor can have maximum rights to all wikis ever created on a ProWikiServer.
Registration data is typically common to all wikis of a server. This means that a user can do one Login to identify himself to all wikis on a server respectively domain (he can have different UserStatus and rights in each of the wikis).
Programming / Implementation
The UserStatus is typically given by the names of the roles in the table (e. g. User or Admin). Internally this textual status translates to a number which represents the position in this hierarchical system. The number range is 0-999 and are given in the column UserWeight. Additional roles and corresponding weights can be defined for a wiki, if there is a need.
FolderAdministration FolderRights FolderProgramming
|