core icon indicating copy to clipboard operation
core copied to clipboard

Permissions issues related to latest changes

Open bryanboza opened this issue 10 years ago • 6 comments

After do some testing over the permissions stuff, are having some issues:

  • After you set full permissions and apply changes, when you go to the site permissions tab, we have the "templates-layout" unchecked

r2

  • After you go to the site properties --> Permissions, and reset the permissions stuff over the site, when you come back to the user permissions and try to apply cascade permissions again, we are loosing one by one every category....

r3

bryanboza avatar Jul 11 '16 17:07 bryanboza

Related to the changes made in: https://github.com/dotCMS/core/issues/8853

jgambarios avatar Jul 11 '16 17:07 jgambarios

I tested this today and both the role application of the permissions and cascade of permissions from the host seem to be working: http://screencast.com/t/jeaW25SbgP

DeanGonzalez avatar Jul 13 '16 22:07 DeanGonzalez

ok, Bryan showed me how to reproduce. If you do not click on ANY child content for the folder in the final step, then the permissions to the folder disappear. But if you click any children, then it works. So there is still a bug here that the cascade ends up removing the permissions to the parent object if there are not children in the folder. Which is a bug.

DeanGonzalez avatar Jul 14 '16 21:07 DeanGonzalez

PR: https://github.com/dotCMS/core/pull/9507

Upgrade Tested from 3.3 to 3.6 in MySQL and Posgres. QA can test Oracle and MS SQL to complete the DB set.

oarrietadotcms avatar Aug 05 '16 21:08 oarrietadotcms

Fix is working. 1st scenario: Templates-layout remains checked after you set full permissions and apply changes 2nd scenario: clicking "cascade changes” doesn’t end up removing the permissions

Tested locally in: master-3.6 // Win7 Pro SP1 // SQLServer 2012 // Chrome master-3.6 // Mac OS 10.10 // MySQL 5.6.23 // Firefox master-3.6 // Ubuntu 14.04.1 // Postgres 9.3 // Chrome master-3.6 // Mac OS 10.10 // Oracle 12c//Firefox

shaydotcms avatar Aug 11 '16 13:08 shaydotcms

@oarrietadotcms great fix!

dsilvam avatar Aug 11 '16 14:08 dsilvam