Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Add finer grained permission check when adding or removing players from a group. #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grandwazir
Copy link

Now checks if a player has either player.addgroup.name or player.removegroup.name before making the change. This creates basic promote/demote functionality.

Now checks if a player has either player.addgroup.<name> or player.removegroup.<name> before making the change. This creates basic promote/demote functionality.
@leagris
Copy link

leagris commented Oct 11, 2012

I vote up your patch

This is exactly what I am looking for.

Use case:

Have per city groups.
I want the city officials to manage adding/removing members of their own city group.

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

Successfully merging this pull request may close these issues.

2 participants