Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PermissionInterface to handle non string Permission #55

Closed
1 of 3 tasks
Tracked by #16
visto9259 opened this issue Jul 9, 2024 · 1 comment
Closed
1 of 3 tasks
Tracked by #16

Add PermissionInterface to handle non string Permission #55

visto9259 opened this issue Jul 9, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request v2 To be implemented in version 2
Milestone

Comments

@visto9259
Copy link
Member

visto9259 commented Jul 9, 2024

Permissions may be retrieved from a storage and may objetcs rather than just strings.

  • Define a PermissionInterface that defines a __toString() method
  • Update interfaces that have permission as a string parameter to also use PermissionInterface
  • Update classes that use the updated interfaces to ensure that permission objects are cast as string
@visto9259 visto9259 moved this from 🆕 New to 🏗 In progress in LmcRbac Development Jul 9, 2024
@visto9259 visto9259 added this to the 2.0.0 milestone Jul 9, 2024
@visto9259 visto9259 added enhancement New feature or request v2 To be implemented in version 2 labels Jul 9, 2024
@visto9259 visto9259 self-assigned this Jul 9, 2024
visto9259 added a commit to visto9259/LmcRbac that referenced this issue Jul 9, 2024
@visto9259
Copy link
Member Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2 To be implemented in version 2
Projects
Status: Done
Development

No branches or pull requests

1 participant