We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example: Access to a section "section-2" in this way http://www.example.com/section-0/section-1/section-2
Protect an object setting permission: "group visible, preview for others" in various cases. Results:
protected "document" inside a free "section-2"
• section.parentAuthorized = 1 • section.authorized = 1 • currentcontent.authorized =
correct: currentContent is not authorized
protected "section-2" (with free documents inside), inside a free "section-1"
• section.parentAuthorized = 1 • section.authorized = • currentcontent.authorized =
correct: section is not authorized, neither currentContent
free "section-2", inside a protected "section-1"
• section.parentAuthorized = 1 • section.authorized = 1 • currentcontent.authorized = 1
uncorrect! all must be "not authorized" (NULL)
free "section-2", inside a free "section-1", inside a protected "section-0"
The text was updated successfully, but these errors were encountered:
issue #334 - fix bug on "group visible, preview for others" permissio…
07c5c55
…n set Replace !empty() with isset() to check if the "authorized" key was defined
bbc4b07
ok, I have fixed the bug on 3.1-ulmus and master (populus) branch @qwerg test it, then if it's ok close the issue
Sorry, something went wrong.
batopa
No branches or pull requests
Example:
Access to a section "section-2" in this way
http://www.example.com/section-0/section-1/section-2
Protect an object setting permission: "group visible, preview for others" in various cases.
Results:
protected "document" inside a free "section-2"
correct: currentContent is not authorized
protected "section-2" (with free documents inside), inside a free "section-1"
correct: section is not authorized, neither currentContent
free "section-2", inside a protected "section-1"
uncorrect! all must be "not authorized" (NULL)
free "section-2", inside a free "section-1", inside a protected "section-0"
uncorrect! all must be "not authorized" (NULL)
The text was updated successfully, but these errors were encountered: