Joomla inherited properties¶
Each item defined in the EasySDI Map component inherits of these 3 standard Joomla! properties :
Controlling What Users Can See
The setup for controlling what users can see is done as follows:
- Create the different User Groups required for the site. Each Group can be thought of as a role that a user will have for the site. Keep in mind that one User can be a member of one or more Groups. If desired, groups can have parent groups. In this case, they automatically inherit the Access Levels of the parent group.
- Create the set of Access Levels required for the site. This could be a small number or a large number depending on the number of different groups and how many categories of items there are. Assign each Access Level to one or more of the User Groups created in step 1.
- Assign each item to be viewed to one Access Level. Items include content items (articles, contacts, and so on), menu items, and modules.
Any time a user is about to view an item on a Joomla page, the the program checks whether the user has access to the item, as follows:
- Creates a list of all the Access Levels that the User has access to, based on all Groups that the User belongs to. Also, if a group has a parent group, access levels for the parent group are also included in the list.
- Checks whether the Access Level for the item (article, module, menu item, and so on) is on that list. If yes, then the item is displayed to the user. If no, then the item is not displayed.
- Note that Access Levels are set separately for each Group and are not inherited from a group's parent group.
Access level checkin for map items is detailled in Loading a context
Controlling What Users Can Do
The system for setting up what users can do -- what actions they can take on a given item -- is set up with the Permissions tab of Global Configuration and the Permissions tab of the Options screen of each component. Permissions can also be set up at the Category level for core components and at the Article level for articles.
Note that this set up is independent of the setup for viewing.
When a user wants to initiate a specific action against a component item (for example, edit an article), the system checks the permission for this combination of user, item, and action. If it is allowed, then the user can proceed. Otherwise, the action is not allowed.
An item can have one of the following status :
Only published items can be accessible on the site by users.
Other status are handle by administrators and allow them to manage life cyle of the items.
The usual life cycle of item in Joomla! is:
- unpublished : Item is editing/reviewing by an administrator and is not visible in the site.
- published : Item is made available for the site. Users could see it according to their access level.
- archived : Item are no more visible.
- trashed : Item is place in the trash. It still exists and can be retrieved