Skip to content

Role/permission initialisation should also accept function #1

Description

@fullstackfool
  • I'm submitting a ...
    [ ] bug report
    [x] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary
    Should be able to pass an async function to the constructor, eg: new ACL(user.getAuth)
    This would allow for a cleaner flow when fetchin lists of permissions from the server.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions