All Users are defined by a unique login email
Super-Admin Users have the highest level of permission and acts as site administrator. They can view the entire back end of the OFN, manage both U2E and E2E relationships and view all enterprises.
- The first super-admin user is set-up when deploying a new instance of OFN
- There can be multiple SuperAdmins. To give a user SuperAdmin permission, click the Admin checkbox, when creating or editing a user. Do this with care!
Anyone can sign up as a User by signing-up / logging in from the front page. This will create a basic User, sufficient for anyone using the site to shop. It gives them an account that keeps track of their orders, accessible from the cog drop-down
A basic user can also be created by SuperAdmin
NB: When creating a new user, superadmin can set an ‘Enterprise Limit’ - this controls how many Enterprises this user is allowed to Own. Default is one (to limit spam enterprise creation), but it can be set to whatever you want.
Enterprise users have access to the admin interface to enable them to operate their enterprises. They can be either an Owner or a Manager of an Enterprise.
- Each enterprise has one and only one Owner. This is the primary contact responsible for the enterprise. Owners can create and remove Managers.
- An enterprise can have zero, one or more managers. Managers can’t affect other Managers
- A user can manage one or more enterprises. The admin interfaces enable them to manage multiple enterprises without logging out and in.
- By default a user can only own one enterprise, however this limit can be raised by a SuperAdmin (by editing the User).
There are four ways to become an Enterprise Owner
- If joining through the front end sign up process, found at openfoodnetwork.org.au/register, the User will automatically become the owner of the enterprise they create.
- If a logged in Enterprise manager or Owner creates an Enterprise from admin, they will be the owner of that Enterprise
- a User can be granted ‘ownership’ of an enterprise by a SuperAdmin . This can be done on the profile form of the enterprise or the enterprise index page (see below). Note, the new owner must be an existing user and manager of the Enterprise.
- the Enterprise Owner can switch ownership to another Manager
Enterprise profile form
Enterprise index page (can only choose from existing managers)
There are three ways to become an Enterprise Manager
- super-admin can add enterprise managers via Users / Roles
- an enterprise owner can create managers via the Enterprise Management dashboard, tab Users
- when an enterprise owner sets a contact email for an enterprise, the email validation will turn that user into a Manager of that enterprise
Continuing the discussion from Users and Enterprise Types