Route Guards
Route Guarding
The folloing list is a print out of the complete routes if all features are activated.
ID | Affects |
---|---|
v | Angular View |
f | Rule, method or button states |
r | Rule can be activated |
ID | IMPLEMENTED | METHOD | ROUTE | DESCRIPTION | ROLE | PERMISSION |
---|---|---|---|---|---|---|
f-features-vote | x | PUT | /features/uuid | Allow user to vote on features | - | - |
f-themes-rating | x | GET | /feature/uuid | Allow user to see the rating | - | - |
f-themes-vote | x | POST | /feature/ | Allow user to create a new tehme. | - | - |
m-inbox-admin | x | GET | /inbox/… | The admin inbox | ADMIN | VOTE |
m-inbox-moderator | x | GET | /inbox/… | The moderator inbox | MODERATOR | - |
l m-user-settings | x | POST | / … | The user settings, stores theme and layout information | - | - |
r-assignments | x | - | - | Assign task to a team member | ||
r-bets | o | - | - | Assign user credit to a task | ||
r-confirmations | o | - | - | Requires confirmation if a task is completed | ||
r-experience | x | - | - | Reeceive experience for a task | - | |
r-quests | x | - | - | Create quests for a team | - | |
r-streaks | o | - | - | For each task/quest completed, incrase the exp gained | ||
r-user-credits | o | - | User has credit to bet | - | ||
v-inbox | x | - | User inbox | - | ||
f-team-copy | x | POST | ||||
f-team-state | x | - | ||||
f-team-task-done | x | POST | ||||
f-team-quest-done | x | POST | ||||
f-team-task-deactivate | x | POST | ||||
v-changelogs | x | GET | ||||
v-compare | x | GET/POST/PUT | ||||
v-competitions | x | GET/POST/PUT | MODERATOR | CREATE_COMPETITIONS | ||
v-dashboards | x | GET/POST/PUT | /competitions | Create, delete | ||
v-features | x | GET | /features | Create, delete | ||
v-issues | x | GET/POST/PUT | /issues | Create, delete | ||
v-manual | x | GET | Access the manual | |||
v-rules | x | GET/POST/PUT | /rules | Create, delete | MODERATOR | CREATE_RULE |
v-rulesets | x | GET/POST/PUT | /rulesets | Create, delete | MODERATOR | CREATE_RULESET |
v-scores | x | GET | - | Receive the score | - | |
v-tasks | x | GET/POST/PUT | /tasks | Create, delete | - | CREATE_TASK |
v-tasksets | x | GET/POST/PUT | /tasksets | Create, delete | - | CREATE_TASKSET |
v-teams | x | GET/POST/PUT | /teams | Create, delete | - | CREATE_TEAM, CHANGE_TEAM |
v-themes | x | GET/POST/PUT | /themes | Create, delete | - | |
v-users | x | GET/POST/PUT | /users | Create, delete | ADMIN | CREATE_USER |
Experimental features
Backend features enable features in the FE.
Sourcode: health.go
FeaturesIDs:
"p-demo", "a-oauth2", "a-proxy",
Matching pattern rule: The name of the rule matches with the name of the feature. The prefix of the name tells the type of the feature
ID | Type | Description |
---|---|---|
v | View | If a view can be loaded |
f | Feature | If a button for a feature or the rule of the feature can be activated |
m | Managment | If the inbox can be loaded for admin or moderator |
a | Auth | If the auth endpoint is enabled |
p | Presentation | If the demo team, tasks are loaded in the application |