Opened 5 years ago

Closed 5 years ago

#6940 closed defect (bug) (fixed)

User user caps instead of levels

Reported by: filosofo Owned by: anonymous
Priority: normal Milestone: 2.6
Component: General Version:
Severity: normal Keywords: user-level has-patch capability current_user_can
Cc: filosofo

Description

Only two places in core still use user levels instead of capabilities, and unnecessarily so. My patch removes them.

Attachments (1)

user_level_to_caps.diff (997 bytes) - added by filosofo 5 years ago.

Download all attachments as: .zip

Change History (2)

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

(In [7912]) Remove last remaining user level checks in favor of capabilities checks. props filosofo. fixes #6940

Note: See TracTickets for help on using tickets.