nofusscomputing / centurion_erp

An ERP with a focus on ITSM and Automation
MIT License
0 stars 0 forks source link

Gather permissions from API #164

Closed jon-nfc closed 2 weeks ago

jon-nfc commented 1 month ago

In GitLab by @jasonpagetas on Aug 5, 2024, 06:48

Require an API endpoint to fetch all permissions used OP: API endpoint to show all permissions available for use in teams. This would be useful when creating a new team config.

Links

jon-nfc commented 1 month ago

In GitLab by @jasonpagetas on Aug 5, 2024, 06:48

marked this issue as related to #74

jon-nfc commented 1 month ago

Require an API endpoint to fetch all permissions used

to fetch when used where?? or do you mean to show permissions available??

jon-nfc commented 1 month ago

added 2m of time spent

jon-nfc commented 1 month ago

@jasonpagetas, this issue was migrated from gitlab to github. During this migration you were not added as the user whom opened this issue. This message will ensure that you receive further updates on this issue as it progresses.

Further information can be found within #213

jon-nfc commented 1 month ago

Follow-up

@jasonpagetas

Require an API endpoint to fetch all permissions used

to fetch when used where?? or do you mean to show permissions available??

jasonpagetas commented 4 weeks ago

API endpoint to show all permissions available for use in teams. This would be useful when creating a new team config.

jon-nfc commented 4 weeks ago

API endpoint to show all permissions available for use in teams. This would be useful when creating a new team config.

Yep, Now I remember the why for this issue. OP updated. I place this in 1.1 as it's a simple enough to implement

jon-nfc commented 3 weeks ago

Implementation

@jasonpagetas, This feature will be added in v1.1. can you review these screenshots to confirm it's what your after? The change implements a new endpoint at api/settings/permissions and it returns a json list of all available permissions.

Swagger

Screenshot from 2024-08-17 15-03-54

Screenshot from 2024-08-17 15-04-14

API

Index page

Screenshot from 2024-08-17 15-04-36

Settings index Screenshot from 2024-08-17 15-04-43

Permissions list Screenshot from 2024-08-17 15-05-04

jasonpagetas commented 3 weeks ago

Implementation

@jasonpagetas, This feature will be added in v1.1. can you review these screenshots to confirm it's what your after? The change implements a new endpoint at api/settings/permissions and it returns a json list of all available permissions.

Swagger

Screenshot from 2024-08-17 15-03-54

Screenshot from 2024-08-17 15-04-14

API

Index page

Screenshot from 2024-08-17 15-04-36

Settings index Screenshot from 2024-08-17 15-04-43

Permissions list Screenshot from 2024-08-17 15-05-04

Exactly what I'm looking for. This will be added as a comment in the teams playbook docs.

jasonpagetas commented 3 weeks ago