Recommendation to store permissions

Hi people i would like advices regarding what's the best way to store permissions without ending with a HUGE table in db and having java to properly handle them. I was thinking on using a maybe numeric value, 1 read, 2 write, 4 delete where a value of 5 means it has delete and read value, a value of 6 read write and deleted and such. But i really don't know if there is any other/recommended way. Regards. :PES3_Wave:
4 Replies
JavaBot
JavaBot6mo ago
This post has been reserved for your question.
Hey @keplerk! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
keplerk
keplerkOP6mo ago
This is exactly what i need !!! and indeed it's more convenient that just having an integer and trying to add or subtract to validate a permission and due only needing to validate read, write and delete this is the perfect solution!
JavaBot
JavaBot6mo ago
Post Closed
This post has been closed by <@306591040406683649>.
Want results from more Discord servers?
Add your server