Context: 

In the case where a resource has been retired or is no longer need it is useful to be able hide it from the UI resource lists. Resources can become difficult to delete when referenced by other things. For example, bookings made against the resource will create references to it and thus making it difficult to remove unless the bookings are removed as well


Suitable for: Admins 


Objective: Make a resource invisible to non admins


Steps:

  1. Login to Calpendo using an account with 'Admin' role.
  2. Choose Admin/Permissions
  3. Expand Exists
  4. Create new and 
    1. set Name of the permission such as 'Hide resource xyz'
    2. set Action to be 'Exists'
    3. set Data Type to be 'Resource'
    4. Add a condition for the permission as below in the conditions tab
      1. Value of self equals Fixed 'Resource name' (where you then select the name of the resource you wish to hide) 
    5. Use the 'Applies to' tab to select specific user groups for whom this permission applies.  If you select a user group here this means anyone not in that usergroup will not have that permission applied and will be able to see this resource.
    6. Use the 'Does Not Apply To' tab to choose users who should not have this permission applied to them.  Typically it would be users with the root and admin roles.
    7. A suggested approach for a permission like this would be to leave 'Applies to' set to everyone and then use 'Does not apply to' to specify root and admin users as the only users who can see this