Skip to content

Adding resource based permissions #340

Open
@johnbotris

Description

@johnbotris

As far as I can tell, the permissions system is purely role-based. For example, if I have a role which gives me the EditMeetingComment permission, then I am capable of editing all meeting comments.

Say a meeting comment should only be editable by the one who made the comment (or to add some complication, it could also be edited by a sysadmin). What would be a good way of extending the project?

Perhaps something like adding ACLs to the User access controller? It's not clear to me when permissions would be added/changed/removed - always at the controller level, or in integration events? I think the latter case could require that you pass around the identity of the user to the actions and events, which seems not ideal.

Any ideas on how to implement this? (Or is it already there and I've totally missed it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions