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

When calling `hasGroupPermission` with guest admin group eXpansion crashes #255

Closed
oliverde8 opened this Issue Feb 12, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@oliverde8
Member

oliverde8 commented Feb 12, 2018

I'm reporting a Bug

This prevents such code to work

<?php
public function onApplicationReady()
    {
        $this->chatWidget->create($this->players);
        foreach ($this->adminGroups->getUserGroups() as $group) {
            if ($this->adminGroups->hasGroupPermission($group->getName(), "console")) {
                $this->updateRequired = true;
                $this->updateChatWidget->create($group);
            }
        }
    }

due to a group not found exception.

unknown

@oliverde8 oliverde8 added this to the alpha-3 milestone Feb 12, 2018

@oliverde8 oliverde8 self-assigned this Feb 12, 2018

oliverde8 added a commit that referenced this issue Feb 12, 2018

oliverde8 added a commit that referenced this issue Feb 12, 2018

oliverde8 added a commit that referenced this issue Feb 12, 2018

reaby added a commit that referenced this issue Feb 12, 2018

Merge pull request #256 from eXpansionPluginPack/fix-255
#255 - Fixed issue when asking permissions on guest group causing eXp…

@oliverde8 oliverde8 closed this Feb 12, 2018

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