#120 - Layout permissions
We have been trying to change a layout element for various layouts. When we assign the user to a Security Group, the layout shows the old version. Without assigned Security Groups, the layout shows the new version. We can't determine why removing Security Groups would change which layout gets used. We have changed the layout for each of the individual security groups as well as the default.
11 years ago
There is a custom layout by group feature that you are running into. In Studio, check the layouts for the group that is showing the old layout. That group customized layout may need to be removed or updated. These custom group layouts are stored in custom/modules/[MODNAME]/metadata/{GROUP_ID}. If you manually remove that group layout folder just make sure to run a Repair/Rebuild.
-Jason
11 years ago
So it is safe to delete that folder? The id for the folder doesn't match any group_id I have found. Is it safe to remove anything under the metadata folders and it will be rebuild when you run Repair/Rebuild?
11 years ago
Not knowing your system I'd say it isn't safe. Your best bet is to find the corresponding layout in Studio for the group the user is being added to and update the layout to be the same as the default layout. It will probably be a manual process. There should be an option to delete a custom group layout by clicking on the group name in the tree outline in Studio for that module and hitting the Delete button in the main area on the right.
11 years ago
So, in case anyone else has a similar problem. I ended just moving the GROUP_ID folder and now it appears to be working in all cases. It hasn't rebuilt those folders but it seems to be fine. Thanks
11 years ago
Excellent! Thanks for sharing that.