Ticket #6 (closed enhancement: fixed)

Opened 4 months ago

Last modified 4 days ago

Roles / Capabilities

Reported by: padams Owned by: padams
Priority: major Milestone: 1.2.0
Component: framework Version:
Keywords: Cc:

Description

Refactor OWA's auth and privilege scheme to adhere to roles and capabilities.

  • Capabilities should be defined and stored in a in a new 'owa_capabilties' table.
    ** Each capability should be associated with a role
  • Controllers should set which capability they are asociated with
  • Users should be associated with a role
    ** Roles should include:
    *** Guest
    *** Viewer
    *** Analyst
    *** Admin

Controllers should load the capability object they are associated with when they are created.

Change History

Changed 4 weeks ago by admin

  • milestone changed from 1.3.0 to 1.2.0

Changed 4 weeks ago by admin

Lets make the first version of the roles and capabilities be static array based instead of stored in a table.

Changed 4 days ago by admin

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

capabilities now live in the default settings array. This needs to be moved into the DB in a future release.
Also I adopted a mediawiki convention of using 'everyone' instead of 'guest'

Note: See TracTickets for help on using tickets.