Skip to content

Define check_permissions per act #8

@Wardormeur

Description

@Wardormeur

Instead of having a runtime search for the profiles linked to the act, we can define an act per permission to check
ie : role: pluginName, cmd: 'checkPermissions', ref: cmdName
It should support multiple domains/subpatterns, so that ref may be an object to avoid having to redefine ref depending on the nesting
It must also keep the fact that a missing act is allowed if not found (overwrite default$ from seneca to return {allowed:true} when the error is "act_not_found")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions