Ticket #4242 (closed Bug: fixed)

Opened 5 years ago

Last modified 12 months ago

"Review portal content" permission is not taken into account in display contents tab test

Reported by: maikroeder Owned by:
Priority: major Milestone: 2.1
Component: Infrastructure Keywords:
Cc:

Description

While doing the PloneSelenium functional tests for "Delete Objects", I realised that the unit tests are not taking the review "Review portal content" permission into account in tests/testDisplayContentsTab.py.

Just add this permission to the following method, and we should be fine:

def getModificationPermissions(self):

return [ModifyPortalContent,

AddPortalContent, copy_or_move, delete_objects]

Change History

Changed 5 years ago by alecm

  • status changed from new to closed
  • resolution set to fixed

Fixed in svn.

Changed 12 months ago by hannosch

  • component changed from Permissions to Infrastructure
Note: See TracTickets for help on using tickets.