Skip to content

Organisation management

Intro

Each organisation is managed separately in Flowcode, allowing for organisation customisation and dynamic attributes. The following organisation areas are important to note:

  • Members
  • Organisation Catalogues
  • Divisions
  • Departments
  • Organisation roles

Members

Organisation members are the users who can access an organisation and all the linked resources on the front end of the app. What a user can access is determined by two things:

  • Catalogue allocation
  • Organisation permissions

Catalogue allocation

When adding an organisation catalogue to an organisation you can assign a division, department and a user role to the catalogue. This will determine whether a user access that catalogue.

A user will see the catalogue in their dashboard if one of the following conditions is met:

  • They are in the linked division
  • They are in the linked department
  • They are in the linked user role
  • They are the organisation owner

| The logic for determining the above is in the CatalogueService

Organisation permissions

Organisation permissions determine access beyond catalogues for things like:

  • Accessing OPTT dashboards
  • Managing strategic objectives
  • Reviewing Elements
  • etc.

Organisation permissions are added in the OrganisationPermissions.php enum file. There are a number of helper methods added to the User model for organisation permissions.

Managing organisation permissions

Admins can assign organisation owners in the admin dashboard organisation owners area. Only an organisation owner can manage other organisation permissions