Skip to content

Administrators

Coach permissions

The WordPress role `joolwebsp_coach` controls what a coach can do without being a site administrator.

Configuration: Joolweb Sessions ProSettingsPermissions section (dedicated Permissions page depending on version).

Only a WordPress administrator can modify these rights.

Main capabilities

CapabilityAllows
view_clientsView client list
create_clientsCreate clients
edit_clientsEdit clients
delete_clientsDelete clients
edit_sessionsManage sessions
view_sessionsView sessions
(others)Programs, exports, etc. per Permissions screen

Checkboxes reflect the coach role state at save time.

Multi-coach isolation

By default, a coach accesses:

  • Clients assigned to them (joolwebsp_assigned_coach_id)
  • Or with at least one session with that coach

Helpers: coach_can_access_client(), coach_can_access_session().

A coach does not see other coaches' clients and sessions (except WP administrator).

WordPress administrator

  • Full access to all data
  • Coach home (administrator) option in Settings:
  • All sessions — see all sessions
  • Only sessions I created — coach-like behavior

See Admin dashboard.

Best practices

  1. Don't remove edit_sessions if the coach needs to work day to day

  2. Reserve delete_clients for trusted profiles

  3. On multi-coach setups, assign the coach when creating the client

  4. Test with a non-admin coach account after changes

See also

  • Settings and options
  • Add and manage clients
  • Coach surfaces: admin and front