Ticket #2005 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Plugin hooks for capabilities

Reported by: ringmaster Assigned to: ringmaster
Priority: normal Milestone:
Component: Administration Version: 2.0
Severity: normal Keywords: bg|has-patch
Cc:

Description

Plugin hooks are needed for the has_cap() members of the capabilities classes so that plugins can modify the capabilities of users on request.

Attachments

capabilities.php.diff (0.9 kB) - added by ringmaster on 12/01/05 20:39:51.
Adds two hooks.
caps-test.php (1.1 kB) - added by ringmaster on 12/01/05 20:40:45.
Sample plugin with virtually no functionality, but explains the incoming params.

Change History

12/01/05 20:39:51 changed by ringmaster

  • attachment capabilities.php.diff added.

Adds two hooks.

12/01/05 20:40:45 changed by ringmaster

  • attachment caps-test.php added.

Sample plugin with virtually no functionality, but explains the incoming params.

12/01/05 20:41:46 changed by ringmaster

  • keywords set to bg|has-patch.
  • status changed from new to assigned.

12/12/05 23:08:00 changed by ryan

  • milestone set to 2.0.

12/12/05 23:20:46 changed by ryan

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

(In [3296]) role_has_cap and user_has_cap filters from ringmaster. fixes #2005

11/30/06 19:41:47 changed by

  • milestone deleted.

Milestone 2.0 deleted