New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TVs added to resource group are still editable #7445
Comments
markh submitted: Sorry, you added a TV to a resource group? That's not the way to go! Try adding it to a category and using element category ACLs instead. |
onepack submitted: Hi mark! Nice to see a response from you ;-) I hope you have a good time working for the MODx team! About the above. I was confused here as well because I used to do this with ACL's. h3. Select the Resource Groups that this Template Variable belongs to. Only users with access to the Groups selected will be able to modify this TV. If no Groups are selected, all users with access to the Manager will be able to modify the TV. Is this confusing or what? Misschien ben je me nu al zat hehe, Maybe you are fed up with me already. Greetings, OnePack |
markh submitted: Learn something new every day o.O I had no idea you could link it to resource groups, I always did it with categories, but apparently this is a legacy feature that should work. |
splittingred submitted: I can't replicate this; I did the following:
|
onepack submitted: Hi Shaun, thank you for your time! Somehow the tvs stay accessible for users that are in a usergroup that don't have rights to view these Resource Group items See the Images to demonstrate. |
onepack submitted: Shaun, when you want I can provide you with the login credentials of the latest project so you can test it. info[at]onepack.nl |
onepack submitted: When I create a new TV the Resource Groups checkbox field in the Access Permissions is not rendered so I need to do that manually. I also Noticed that when I create a new TV the following error appears in the error-report. [2012-03-22 23:21:59](ERROR @ /connectors/element/tv.php) modTemplateVarTemplate: Attempt to set NOT NULL field rank to NULL |
splittingred submitted: Yes, login info would be nice. shaun@modx.com |
splittingred submitted: Thanks for the testing data. Can you test this fix: This seemed to fix the issue - which I confirmed - when I applied this commit. |
onepack submitted: I confirm that the applied fix solved the issue. |
onepack created Redmine issue ID 7445
I added some TVs to a resource group so they can only be accessed/ edited by users with access to this resource group.
I now log in with the user account without this resource access and can still see these TVs and edit them as well.
So there is no way to hide some "critical" TVs form some users.
The text was updated successfully, but these errors were encountered: