-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
New users unauthorised to create wikis #62
Comments
Thanks, I'm still seeing the same issue though but now the primary account can't create wikis either, I get a 403 page for all admin users now. |
I couldn't run
|
@jahvi Can you please run the following commands and let me know if you still have the same problem:
|
Yes my bad I needed to |
Similar to #8 I'm getting
Unauthorized
when trying to create wikis with newly invited users, it works fine for the account that originally created the team.Steps to replicate
It looks like the main issue is that the following line in the
hasPermissions()
function returns empty:$roles = $this->with('roles')->findOrFail(Auth::user()->id)->roles;
Maybe the roles are not getting assigned correctly on new users?
The text was updated successfully, but these errors were encountered: