Ever thought of checking the permission before executing a command?
yannicklamprecht opened this issue · 3 comments
ImageOnMap has no Permission check due this bug.
Yes but we already test that in the
Command.execute()
method—canExecute
checks the permissions and all. Are you sure there is a bug on the zLib side there?
Then it is a bug in here. https://github.com/zDevelopers/ImageOnMap version 4.0 does allow creating new maps without having the needed permissions. So it is clearly a bug.
Okay. I'll check that and meanwhile, move this issue to the right repository.
Yes but we already test that in the Command.execute()
method—canExecute
checks the permissions and all. Are you sure there is a bug on the zLib side there?