![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
5.3.4 |
|
Assignee:
|
Unassigned |
|
Attachments:
|
magnolia-security-app-5.3.4-MGNLUI-3225.jar, Superuser-Role_export.jpg, Superuser-Role_import.jpg, WorkspaceAccessFieldFactory.class.zip |
|
Components:
|
security app |
|
Created:
|
28/Oct/14 4:57 PM
|
|
Description:
|
Info:
The described problem happens only when editing the 'superuser' role, and only in Mangolia 5.3.4,
Problem:
When trying to edit the 'superuser' role following error is thrown:
Source of the problem:
One permission property of the 'superuser' role is stored as "String" property and not as "long" property.
(Always was, compared to M5.3.3, same String property there).
Workaround(s):
- Export, change and import the 'superuser' role:
Generally explained: export the superuser role, change the property type, and import it again.
Detailed steps:
- Export the superuser role (see print screen 'Superuser-Role_export.jpg'):
- Go to the app "Tools -> Export"
- Repository: userroles
- Basepath: /superuser
- Edit the xml file you just exported:
- Search within for the value <sv:property sv:name="permissions" sv:type="String">
- Replace the "String" with "Long", the result should be: <sv:property sv:name="permissions" sv:type="Long">
- Save the file
- Import the just edited superuser export file (see print screen 'Superuser-Role_import.jpg'):
- Go to the app "Tools -> Import"
- Repository: userroles
- Basepath: /
- Choose the file you edited.
- Choose "Replace existing node with the same id" (! not "Remove existing node with the same id")
- Log out and log in again with superuser. Role can now be edited again.
- Use patched class:
Use the attached & patched classes from the archive: "WorkspaceAccessFieldFactory.class.zip"
(The classes content is the code version of M5.3.3)
- *Use patched jar file:*
Use the attached & patched jar of the security app (replace in WEB-INF/lib).
Proper solution:
An update task should be added which updates all 'superuser' roles on existing systems.
Also Magnolia should bootstrap a version with a correct "Long" property.
|
|
Project:
|
Magnolia UI
|
|
Labels:
|
support
|
|
Priority:
|
Critical
|
|
Reporter:
|
Christian Ringele
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------