You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue hits Plone 4 and Plone 5 (tested on Plone 4.3.9 and 5.0.4).
The inner login of the @@sharing view pre-populate the table with local roles if and only if a user has local roles but, if the user acquired global roles which override the local ones, his local roles are not shown.
See
go to document1/@@sharing and you'll see on page load all of the local roles you gave him
add users1 to group1, which have the same global roles you gave locally
go again to document1/@@sharing
Now local roles are hidden, although they are still there. The are not visible until you remove global roles from the user (or, if you explicitly search for user1 you'll see that global roles are applied).
In this way it seems that sharing view contains different data from the low level manage_listLocalRoles page.
This is not a big issue but I think that the sharing page must always inform about local roles on a document, so display the local roles checkbox for deleting them.
The text was updated successfully, but these errors were encountered:
This issue hits Plone 4 and Plone 5 (tested on Plone 4.3.9 and 5.0.4).
The inner login of the
@@sharing
view pre-populate the table with local roles if and only if a user has local roles but, if the user acquired global roles which override the local ones, his local roles are not shown.See
plone.app.workflow/plone/app/workflow/browser/sharing.py
Line 320 in 24d47b4
How to reproduce the issue:
user1
local roles todocument1
document1/@@sharing
and you'll see on page load all of the local roles you gave himusers1
togroup1
, which have the same global roles you gave locallydocument1/@@sharing
Now local roles are hidden, although they are still there. The are not visible until you remove global roles from the user (or, if you explicitly search for
user1
you'll see that global roles are applied).In this way it seems that sharing view contains different data from the low level
manage_listLocalRoles
page.This is not a big issue but I think that the sharing page must always inform about local roles on a document, so display the local roles checkbox for deleting them.
The text was updated successfully, but these errors were encountered: