Ticket #4242 (closed Bug: fixed)

Opened 9 years ago

Last modified 5 years 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: General Version:
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

comment:1 Changed 9 years ago by alecm

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in svn.

comment:2 Changed 5 years ago by hannosch

  • Component changed from Permissions to Infrastructure

comment:3 Changed 22 months ago by davisagli

  • Component changed from Infrastructure to General
Note: See TracTickets for help on using tickets.