Who may do what is decided by user groups. A group is a role, such as "Product assistant". You give a person a role by putting them in that group, then set what the group may do in two places: Phoca Cart's permissions and Easy Edit's permissions. Easy Edit never lets anyone do more than Phoca Cart allows.
What a group needs before it can use Easy Edit
| Needed | Where it is set | Setting |
|---|---|---|
| Log in to the administrator | System → Global Configuration → Permissions | Administrator Login. Joomla's Manager and Administrator groups (and groups made inside them) already have it. |
| Open Phoca Cart | Phoca Cart → Options → Permissions | Access Administration Interface: Allowed. Administrator already has it; Manager does not. |
| Change and add products | Phoca Cart → Options → Permissions | Edit (and Create for new products). Manager and Administrator already have both. |
| Only if Phoca's Use advanced permissions is on | Phoca Cart → Options → Permissions | Advanced - Products: Allowed. |
| Open Easy Edit | Easy Edit → Options → Permissions | Access Administration Interface: Allowed. Administrator already has it; Manager does not. |
| Use the parts of Easy Edit | Easy Edit → Options → Permissions | The eight permissions (see Permissions for staff). |
Example: one shop, five people
New groups are made inside Joomla's Manager group, because Manager can already log in to the administrator and create and edit content, but cannot open Phoca Cart or Easy Edit until you allow it.
| Person and role | Group (Group Parent) | Phoca Cart permissions | Easy Edit permissions | What they can do |
|---|---|---|---|---|
| Sam, owner | Super Users | Nothing to set | Nothing to set | Everything, including setting permissions. |
| Alex, shop manager | Administrator (Joomla's own) | Nothing to set: Access, Create and Edit are already allowed | Allow all eight | Every part of Easy Edit, and Phoca Cart's full editor. |
| Jo, product assistant | Product assistant (Manager) | Access Administration Interface: Allowed | Access Administration Interface, Edit options, Edit variations, Add and change pictures, Edit specifications: Allowed | Edits products, options, variations, pictures and specifications. No tax tool, no Advanced tab, no links to Phoca's screens. |
| Kim, photographer | Product photos (Manager) | Access Administration Interface: Allowed | Access Administration Interface, Add and change pictures: Allowed | Opens products and changes their pictures. Options, variations and specifications stay hidden. |
| Pat, bookkeeper | VAT (Manager) | Access Administration Interface: Allowed | Access Administration Interface, Change tax rates on many products: Allowed | Uses the tax tool on the product list. |
The General, Inventory, Shipping and Linked products tabs follow Phoca Cart's own Edit permission and cannot be switched off on their own. So Kim and Pat can also change prices, stock and delivery details. If someone must not, do not give their group Phoca Cart's Edit permission (they then cannot use Easy Edit's editor or the tax tool either).
Step by step: setting up Jo, the product assistant
- Make the group. Go to Users → Groups → New. Group Title: Product assistant. Group Parent: Manager. Press Save & Close.
- Put Jo in the group. Go to Users → Manage and open Jo's account (or press New to make one). On the Assigned User Groups tab, tick Product assistant. Press Save & Close.
- Let the group into Phoca Cart. Go to Components → Phoca Cart, press Options in the toolbar, open the Permissions tab and click Product assistant. Set Access Administration Interface to Allowed. Create and Edit already show Allowed (Inherited) from Manager. If Use advanced permissions is switched on in Phoca Cart, also set Advanced - Products to Allowed. Press Save.
- Choose what the group may do in Easy Edit. Go to Components → Phoca Cart Product Easy Edit, press Options, open Permissions and click Product assistant. Set Access Administration Interface, Edit options, Edit variations, Add and change pictures and Edit specifications to Allowed; leave the others as they are. Press Save. The Calculated Setting column now shows the result for each permission.
- Check. Open a private browser window, log in as Jo and open Components → Phoca Cart Product Easy Edit. Jo should see the Options, Variations and Specifications tabs and the picture buttons, but no tax panel and no Advanced tab.
Good to know
- Inherited follows the parent group. Allowed says yes for this group and the groups inside it. Denied says no for this group and every group inside it, and cannot be undone further down, so use it rarely.
- Super Users always have every permission.
- A person in several groups gets everything any of their groups allows (unless one of them says Denied).
- If Phoca Cart says no to editing products, Easy Edit says no as well, whatever Easy Edit's own permissions say.