Roles & permissions
Viratrip uses a role-based system to control what each member can do within a club. There are three roles: Owner, Administrator, and Member.
The three roles
Owner (owner)
The owner is the user who created the club. There is only one owner per club.
Exclusive rights:
- Delete the club
- Change the owner ID (ownership transfer)
- Access all administrative features
Rights shared with administrators:
- Edit club details (name, description, privacy, location, etc.)
- Invite new members
- Validate membership requests
- Change member roles
- Remove members from the club
- Create, edit, and delete club events
- Create, edit, and delete routes associated with the club
- Manage danger alerts linked to club events
- Delete comments on club routes
Tip :
The owner cannot leave their club. To leave, they must first transfer ownership to another member.
Administrator (admin)
An administrator is a member promoted by the owner. A club can have multiple administrators.
Rights:
- Edit club details (except the owner ID)
- Invite new members
- Validate membership requests
- Change member roles
- Remove members from the club
- Create, edit, and delete club events
- Create, edit, and delete routes associated with the club
- Manage danger alerts linked to club events
- Delete comments on club routes
- Leave the club (losing admin status)
Info :
An administrator **cannot** delete the club or change the owner ID.
Member (member)
A member is a user who has joined the club. This is the default role upon joining.
Rights:
- View club content (events, routes) according to the privacy mode
- Participate in events (register and unregister)
- Comment on routes
- Rate routes
- Report dangers during an event
- Leave the club
Info :
A member can delete their own comments and ratings, but not those of others.
Summary table
| Action | Owner | Administrator | Member |
|---|---|---|---|
| Delete the club | ✅ | ❌ | ❌ |
| Edit club details | ✅ | ✅ | ❌ |
| Invite / validate members | ✅ | ✅ | ❌ |
| Change member roles | ✅ | ✅ | ❌ |
| Remove a member | ✅ | ✅ | ❌ |
| Create / edit an event | ✅ | ✅ | ❌ |
| Delete an event | ✅ | ✅ | ❌ |
| Create / edit a club route | ✅ | ✅ | ❌ |
| Delete a club route | ✅ | ✅ | ❌ |
| Delete comments | ✅ | ✅ | ❌ |
| Participate in an event | ✅ | ✅ | ✅ |
| Comment / rate a route | ✅ | ✅ | ✅ |
| Report a danger | ✅ | ✅ | ✅ |
| Leave the club | ❌ | ✅ | ✅ |