Test tree
Those pages will be used for testing adjustements of privileges. The test users will be
- 'guest' - generic authenticated user
- 'jlauret' - authenticated user (no special priv)
- 'jeromel' - authenticated user lead
Several kind of pages are created below. Please, test them all.
Starting from this page, this is a public child page but it is unpublished by design (so it does not clutter the S&C pages navigation).
Note: to add children page, re-enable publish and add a new page then disable again.
Test 1 - A standard page, no ACL, no OG
This is a test with no special settings.
Test 2 - A non public page, "protected" OG, no ACLs
A non public page, "protected" OG, no ACLs
Test 3 - Public page, OG set to something our test user (non lead) does not belong to
This is a public page, OG is set of "Software and Computing" and our test user "jlauret" does not belong to that OG. User 'jeromel' is a user lead and should be tested as well.
Test 4 - Normal page, ACL for our non priv test user
This page is a standard page. User 'jlauret' should have ACL to edit. Note that 'jeromel' is privileged and therefore, should also be able to edit regardless.
ATTENTION: In some form of the ACL module, all authenticated groups should have at least "view" for this page to still appear to everyone. Similarly the page may NOT be seen by Anonymous if ACLs are set (as a normal user would not have a way to grant ACLs to "Anonymous" for security reasons - And YES, a STAR user DID grant "Edit" to Anonymous ... and that was it for this feature).
Test 5 - OG page, test user does not belong to the OG but ACL set
Same as
Test 4 - Normal page, ACL for our non priv test user but this page will belong to an OG. This is to test how ACL and OG interact. Ideally, ACLs should take over the OG setting.
ATTENTION: Since OG and ACL are both complex modules superseding the standard Drupal's normal access privileges, setting both OG and ACL may have some unpredictable effects. For example, this page is seen by
Anonymous (as the access is granted via the OG access control) and the lack of ACL for
Anonymous is ignored. A standard page with ACL alone (like in
Test 4 - Normal page, ACL for our non priv test user) would however be invisible to
Anonymous users as he ACL module would be "alone" to take over the standard access permissions.