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

vane-permission default not working #49

Closed
Pumamori opened this issue Sep 8, 2021 · 4 comments
Closed

vane-permission default not working #49

Pumamori opened this issue Sep 8, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@Pumamori
Copy link

Pumamori commented Sep 8, 2021

This might be an user error, feel free to close if it is, but it's behaving so unexpectedly that I figured asking wouldn't hurt.

I'm using everything except for vane-regions and vane-waterfall, in vane-permissions I have set the following:

default_group: "user"
vouch_group: "verified"

user:
    - vane.permissions.groups.default
    - vane.admin.commands.spawn
    - vane.admin.modify_world
verified:
    - vane.permissions.groups.user
    - vane.permissions.commands.vouch

To my knowledge, "vane.admin.modify_world" is the permission needed to actually interact with the world, break blocks and what not, with "user" being the permission group new people should theoretically be added to.

However, the actual behaviour is that when people join, they can't break anything at all until they're vouched for. I'm assuming they're still being put in the "default" group, despite the setting in "default_group".

@oddlama
Copy link
Owner

oddlama commented Sep 8, 2021

No, you are absolutely right, thanks for bringing it to my attention - and this is exactly what issues are for.

Your configuration is 100% correct and I have indeed only added the config option but forgot to actually implement the required behavior (oops). I'll fix this when I have more time on my hands in the coming weeks.
I hope you can bear with the current behavior a little longer :P

EDIT: A dirty temporary workaround would of course be to just add the permissions from the user group to the default group. It kind of goes against the privilege separation principle, but you wouldn't have to add everyone to the group manually every time.

@oddlama oddlama added the bug Something isn't working label Sep 8, 2021
@KingTheGuy
Copy link

im not sure if i have something configured wrong, players aren't auto put into any groups, whether that be "user" or "default".

@tofu-7
Copy link

tofu-7 commented Oct 24, 2021

woops this shows up when I link it in our server files

Anyway, I was wondering if there's been any progress on fixing this issue, or is the best course still to use the workaround?

@oddlama
Copy link
Owner

oddlama commented Oct 24, 2021

I'll have time to implement this and some of the other open issues in the coming days, so this will be fixed soon :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants