givepraise / praise

Praise community contributions to build a culture of giving and gratitude.
https://givepraise.xyz
GNU General Public License v3.0
39 stars 21 forks source link

Add more granular roles handling #862

Open kristoferlund opened 1 year ago

kristoferlund commented 1 year ago

We need more than ADMIN and USER.

kkatusic commented 1 year ago

@kristoferlund maybe ROOT?

kristoferlund commented 1 year ago

Most likely, the user configured in .env should be root. But root doesn't mean acess to all API endpoints. Some endpoints, like POST /praise are only available to certain bots etc.