Ticket #6940 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

User user caps instead of levels

Reported by: filosofo Assigned to: 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

user_level_to_caps.diff (1.0 kB) - added by filosofo on 05/08/08 19:47:32.

Change History

05/08/08 19:47:32 changed by filosofo

  • attachment user_level_to_caps.diff added.

05/09/08 00:45:17 changed by markjaquith

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

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