Cuberite Forum
[DONE] Groups and permissions refactor - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: [DONE] Groups and permissions refactor (/thread-1540.html)

Pages: 1 2 3 4 5 6


RE: Groups and permissions refactor - xoft - 08-05-2014

I'm not so sure about editing the data in the DB with external programs, it's rather easy to break the DB consistency that way. Also the DB won't be a real RDBMS engine, just a SQLite file. Still, it should be possible to later add a plugin that overrides the entire system by using data from a RDBMS, if we add the needed hooks.


RE: Groups and permissions refactor - xoft - 08-05-2014

Very well, I'll make that change, then. On a branch, of course.


RE: Groups and permissions refactor - tigerw - 08-05-2014

The branch being, of course, master.


RE: Groups and permissions refactor - xoft - 08-06-2014

Master is a branch, too, yes, but: https://github.com/mc-server/MCServer/pull/1290
:P


RE: Groups and permissions refactor - xoft - 08-09-2014

Anyone good with UI design here? Could you prepare some ideas about what the webadmin should look like for the permission management?


RE: Groups and permissions refactor - NiLSPACE - 08-09-2014

I'm not a professional, but this is a sketch I quickly made just to get the discussion started (Excuse my poor handwriting):


RE: Groups and permissions refactor - xoft - 08-09-2014

That's exactly what I wanted. I don't need a profi website, I need to see what's where, what controls, what functions. A diagram is the best, this is even too much (a ruler? Wink

Now this is a player list with rank control, we need to define the ranks and probably list their groups / permissions, too.


RE: Groups and permissions refactor - xoft - 08-10-2014

I've started the changes to the Core, so far I have a pretty nice-looking rank manager: https://github.com/mc-server/Core/pull/83


RE: Groups and permissions refactor - xoft - 08-10-2014

So far I've come up with the following webadmin schema:

Tab Online players:
- (pretty much what STR_Warrior drew, without the Offline players section)
- per-world list of players
- name
- position (?)
- rank
- can change each player's rank
- can kick each player
- can view list of player's permissions
- can send PM
- special "Player details" subpage?

Tab Ranks:
- (more or less done in the PR)
- displays list of ranks
- add / rename / delete a rank
- add / remove groups to ranks
- set rank visuals
- view all players in a rank (?)

Tab Permissions:
- displays list of groups
- add / rename / delete a group
- add / remove permissions to groups

I've split the ranks / permissions into separate pages, because there will be possibly a lot of entries in each and two long lists on a single page would be impractical.


RE: Groups and permissions refactor - NiLSPACE - 08-10-2014

That's about what I had in mind as well + allot of usefull extras, but I don't think the players position is needed in the Online Players tab. Could that go in the "Special player details subpage"?
EDIT:
Maybe even an TP to player/coordinates button?