devonic Posted November 5, 2017 Share Posted November 5, 2017 Hello, I have just upgraded to v2.8.62 and all was good until I set up permissions for an editing user. I restricted the user to editing two templates, and only a few fields used by those templates on two pages. The fields contain data, and the two pages are displayed correctly when viewed by myself as superuser, or by the editing user. The problem occurs viewing the two pages when logged out, which results in some empty fields. There doesn't seem to be any logic to which fields are empty, but the errors are consistent. The data isn't lost, because the pages display properly if I login again. I have disabled cache for the relevant templates; deleted the pagerender cache files and cleared browser cache. I also tried viewing on different devices, which all displayed the same fault. Now I am stuck! Link to comment Share on other sites More sharing options...
SamC Posted November 5, 2017 Share Posted November 5, 2017 Hi @devonic and welcome to the forum. 51 minutes ago, devonic said: but the errors are consistent Could you post the errors? Did you set access restrictions on just the templates or on the fields themselves? 1 Link to comment Share on other sites More sharing options...
Robin S Posted November 5, 2017 Share Posted November 5, 2017 On the fields that you have set access restrictions for, on the "Access" tab try checking the checkbox shown below: 2 Link to comment Share on other sites More sharing options...
devonic Posted November 6, 2017 Author Share Posted November 6, 2017 Thank you for your help, SamC and Robin S - much appreciated. I can't post the errors as such, because they aren't logged. I set access restrictions on the templates and fields, and editing was available to the user as intended. My problem was with front-end viewing of the fields and this was solved by Robin's suggestion. I seem to be going around in circle's though - the template shows that the role allocated to the user has permission to edit, but now when the user logs in and views the tree, only the view button is available, so he can no longer edit the page. Link to comment Share on other sites More sharing options...
SamC Posted November 7, 2017 Share Posted November 7, 2017 I’ve never used the access settings on fields, only on entire templates so I’m not a great deal of help here. Maybe set restrictions on only the templates first, then try it. If it works as intended, try add a restriction to a field within one of those templates, then try again. I’d just be trying a load of combinations the old fashioned way until it worked. I’m sure another member would have a quicker solution though. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now