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
Right now the admin for the Recycle Bin shows RecycleBin-models with an attached Page. We should filter out RecycleBins that contains pages that the current user is not allowed to see.
To keep in mind: When adding a page to recycle bin it is effectively moved in the page structure, so if the page has permissions in an ancestor, that permission is now gone. This could be solved by first checking if the page has any pagepermissions attached, and if not get nearest ancestors page permissions.
The permission could then be added to the RecycleBin-model (not the RecycleBinPage-model)
The text was updated successfully, but these errors were encountered:
Right now the admin for the Recycle Bin shows
RecycleBin
-models with an attached Page. We should filter outRecycleBin
s that contains pages that the current user is not allowed to see.To keep in mind: When adding a page to recycle bin it is effectively moved in the page structure, so if the page has permissions in an ancestor, that permission is now gone. This could be solved by first checking if the page has any pagepermissions attached, and if not get nearest ancestors page permissions.
The permission could then be added to the
RecycleBin
-model (not theRecycleBinPage
-model)The text was updated successfully, but these errors were encountered: