SID-01736: Edit ACLs from "more topic actions" DOES NOT PERSIST
| Status: |
Unanswered |
TWiki version: |
5.1.3 |
Perl version: |
Perl version: 5.10.1 |
| Category: |
CategoryAccessControl |
Server OS: |
CentOS 6.3 64 bit |
Last update: |
12 years ago |
This is a very quirky situation. I have two use cases. First one doesn't work. Second one does.
Use Case 1: (Problem use case)
1. I have a topic that is not restricted. I click on "More Topic Actions" and then "Edit ACLs for this topic".
2. I get to the proper topic permissions UI. I add users to edit and view. When I "Save", it jumps back to the topic page.
3. If I go back to "Edit ACLs" - I see that the changes I made ARE NOT there. I check "Preference Settings" - and there too I don't see the directives.
Use Case 2:
Here I add the macro %TOPICPERMISSIONS%to the topic page. However I follow the same exact step as in Use Case 1. I.e. even if I can set ACL from the topic page itself, I choose to go via "More topic actions" route. The difference is: in this case it works! I see the ACL settings persist and also show up in preference settings.
My objectiive is: I don't want to use %TOPICPERMISSIONS% on the topic page as I don't want to have that UI with all user names on the topic page. If anyone wants to set ACL, they should go via "More topic actions". But I am unable to make that work.
--
Abhay Patil - 2013-06-14
Discussion and Answer
I have added a bug:
http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item7281
--
Abhay Patil - 2013-06-18
By putting %TOPICPERMISSIONS% macro in comment solves the problem.
This can be used as a work-around.
--
Madhuri Yevale - 2013-06-20
Thanks Madhuri, Appearance of the string <!-- %TOPICPERMISSIONS% --> does the trick, even if technically it is just a comment. It doesn't throw up the big ACL UI and so serves the purpose.
--
Abhay Patil - 2013-06-21
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.