-
Notifications
You must be signed in to change notification settings - Fork 54
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
Problems in my site private pages after upgrading Grav 1.3.3+ and Login plugin 2.4.1+ #134
Comments
I tried to recreate this with my test setup. What i did was i already had a page where access required I created a groups.yaml file with:
Then i set the user's yaml to have this Group:
Then ensured my page had the right permissions:
And everything works as expected. If i remove the Group entry, I cannot access the restricted page, but when I add the group entry back to the user yaml and re-login, I can access it. I don't require that |
Why is it necessary to have access section in user's yaml?
Does it shoud be the same if your groups.yaml file was:
and you user's yaml:
? |
Ok I see what you mean. You can in fact put the |
BTW, I noticed the same a few days ago -- only dot notation worked for me. I think the code for groups is different to the ACL, but I didn't really bother to look into it as I got it working. |
Ok should be sorted with last commit. |
In my site I have groups and users. Each user belongs to one or more groups. Access section is in group definition and not in user account.
From Grav 1.3.3 and Login plugin 2.4.1 in every private pages, after login, I see Welcome page!
I'm not be able to view private pages and I have to add "access" section in account configuration.
I have a group named “jury”. This is the user/config/groups.yaml file:
In user account file I have:
Now, adding in user account file this:
I’m be able to view private page!
So, why do I have to add user access without using the group access rights?
The text was updated successfully, but these errors were encountered: