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

have custom groups for auth services #365

Open
abma opened this issue Feb 4, 2020 · 2 comments
Open

have custom groups for auth services #365

abma opened this issue Feb 4, 2020 · 2 comments

Comments

@abma
Copy link
Contributor

abma commented Feb 4, 2020

-> springfiles/springrts_logs#11

would be nice if we could add custom groups for permissions / auth.

i guess this requires:

table groups: group_id, group_name
table group_user: group_id, user_id

xmlrpc interface needs to be adjusted: the same for access to the user table.

thoughts?

@silentwings
Copy link
Contributor

silentwings commented Feb 7, 2020

seems like overkill rn if you all you want is a store of infologs for engine devs somewhere

the status/access control system of uberserver is old-fashioned status ints & human readable strings in db ('admin', 'mod, 'agreement', etc), it could use a rewrite because there are no free bits left in the status ints... definitely possible but not so easy to do it in a short time

aside from that, user statuses with customizable content makes an argument for doing #249

@abma
Copy link
Contributor Author

abma commented Feb 25, 2020

infologs is not the only place where it would be useful. for springfiles upload it would be nice, too: or should be moderator / admin rights just be mapped 1:1 to it?

maybe when adding it to the xmlrpc service, it could already use a list as result so its prepared for groups.

atm there is no need for showing up the new groups in lobby. it would be enough if they are available via XmlRpcServer.py and if they can be set via sth. like addgroup / removegroup which could replace SETACCESS.

hmm, atm i'm at the point that the 1:1 mapping could be enough for now?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants