Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. The main issue is that the access restrictions are no longer working at all.
  2.  
  3. I had the Groups plugin installed and running fine but things were getting complicated for me with Groups and Capabilities, so I went back in and simplified things. Now the access restrictions are not working at all. I’ve looked over my settings several times from several different angles and everything looks correct. What am I doing wrong?
  4.  
  5. I have a basic Group hierarchy.
  6. – Admin
  7. – Corporate
  8. – Owner
  9. – GM (All)
  10.  
  11. I then created some basic Capabilities.
  12. – access_all
  13. – access_owner
  14. – access_corp
  15. – access_admin
  16.  
  17. I then added the Capabilities to the Groups in reverse order.
  18. – Registered (created for Groups: Blog Protect)
  19. — no capabilities
  20. – GM (All)
  21. — access_all
  22. – Owner
  23. — access_all
  24. — access_owner
  25. – Corporate
  26. — access_all
  27. — access_owner
  28. — access_corp
  29. – Admin
  30. — access_all
  31. — access_owner
  32. — access_corp
  33. — access_admin
  34.  
  35. All seems good, simple and makes sense. Then I started to implement it. I took a Page and added the ‘access_admin (Admin)’ read access restriction. The plugin widget said, “Enforce read access for ‘access_admin (Admin)’. Only groups or users that have one of the selected capabilities are allowed to read this page.”
  36.  
  37. I logged in as a ‘GM’ user and the page showed up in the Site Map and was able to viewed. What am I doing wrong?
  38.  
  39. In ‘Options’ I have all four of the Capabilities added as well as the default ‘groups_read_post’. I did not add ‘groups_read_post’ to any of the Groups, but I did test adding it and it made no difference.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement