[MAGNOLIA-4758] Grant users read only access to version store Created: 02/Jan/13 Updated: 20/Dec/13 Resolved: 30/Jan/13 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 4.4.8, 4.5.7 |
| Fix Version/s: | 4.4.10, 4.5.8, 5.0 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Jaroslav Simak | Assignee: | Jaroslav Simak |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Date of First Response: | |||||||||||||
| Comments |
| Comment by Jaroslav Simak [ 14/Jan/13 ] |
|
I accidentally commited part of this fix in final String[] aclNames = new String[] { "acl_website", "acl_dms", "acl_data" };
for (String aclName : aclNames) {
Node userAcl = userNode.addNode(aclName, MgnlNodeType.NT_CONTENTNODE);
acl = userAcl.addNode("0", MgnlNodeType.NT_CONTENTNODE);
acl.setProperty("permissions", Permission.READ);
acl.setProperty("path", "/jcr:system");
acl = userAcl.addNode("00", MgnlNodeType.NT_CONTENTNODE);
acl.setProperty("permissions", Permission.READ);
acl.setProperty("path", "/jcr:system/*");
}
|
| Comment by Jan Haderka [ 25/Jan/13 ] |
|
5.0/master port seems to be missing. Also please fix your IDE to stop breaking comments at 80 chars, it's annoying. - // happens when JCR authentication module set to optional and user doesn't exist in magnolia + // happens when JCR authentication module set to optional and user + // doesn't exist in magnolia |
| Comment by Jaroslav Simak [ 28/Jan/13 ] |
|
That's strange, i have it set to 1000 chars. Will check why it's breaking those comments. |