tycrek / ass

The simple self-hosted ShareX server
ISC License
655 stars 53 forks source link

[FEATURE] Proper multi-user support #133

Closed tycrek closed 1 year ago

tycrek commented 2 years ago

Description

Allow easier management of users (creating/deleting/modifying). API routes will be available for frontend devs.

Facinorous-420 commented 2 years ago

Endpoints I believe ass should have for multi user suport:

Probably would be nice to add a key to the user object like apiReadAccess and apiWriteAccess which defaults to true on the FIRST USER MADE ONLY and can be modified to be true/false using the modify user endpoint. This will allow us to protect the APIs important routes w/o dealing with api keys. Users secretkey can be the API key.