Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add permissions for API endpoints #111

Open
Frama-99 opened this issue Oct 28, 2020 · 0 comments
Open

Add permissions for API endpoints #111

Frama-99 opened this issue Oct 28, 2020 · 0 comments
Assignees
Labels
backend Mostly backend work technical Needs specific technical knowledge

Comments

@Frama-99
Copy link
Collaborator

Frama-99 commented Oct 28, 2020

  • Users (api/v1/users) is only accessible by admin
  • Equipment items (api/v1/equipment-items), equipment types (api/v1/equipment-types), equipment types with availability (api/v1/equipment-type-times, needs Create new API GET endpoint for fetching equipment items specific to a time range #118 ), and categories (api/v1/equipment-categories) should be viewable by all users that are authenticated (admin and members)
  • Equipment items, types, and categories should be editable only by admin
  • List of all equipment requests (api/v1/equipment-requests-admin) should be viewable only by admin
  • Equipment request specific to a member (api/v1/equipment-requests) should be viewable and editable only by that member and by admin
@Frama-99 Frama-99 added backend Mostly backend work technical Needs specific technical knowledge labels Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Mostly backend work technical Needs specific technical knowledge
Projects
None yet
Development

No branches or pull requests

2 participants