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

MG-293 - New access control #88

Merged
merged 6 commits into from
Nov 19, 2024

Conversation

ianmuchyri
Copy link
Contributor

@ianmuchyri ianmuchyri commented Nov 18, 2024

Pull request title should be JSSDK-XXX - description or NOISSUE - description where XXX is ID of issue that this PR relate to.
Please review the CONTRIBUTING.md file for detailed contributing guidelines.

What does this do?

Provisions for the new access control for magistrala by creating a roles class that can be used by the other classes
Adds Role functions in the Role class and adds them to the Domain service. The other services will be implemented similar to domain service implementation in this pr

Which issue(s) does this PR fix/relate to?

Related to https://github.com/absmach/magistrala-ui-new/issues/293
Put here Resolves #XXX to auto-close the issue that your PR fixes (if such)

List any changes that modify/break current functionality

Updates our access control to the new magistrala auth

Have you included tests for your changes?

no

Did you document any new/modified functionality?

no

Notes

Some things are missing that will be added in subsequent prs:

  • tests
  • documentation
  • actions
  • improve linting

Copy link

changeset-bot bot commented Nov 18, 2024

🦋 Changeset detected

Latest commit: 144a82c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@absmach/magistrala-sdk Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ianmuchyri ianmuchyri marked this pull request as ready for review November 19, 2024 08:35
Copy link
Contributor

@wambui-pixel wambui-pixel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add relevant tests to this as well

@ianmuchyri
Copy link
Contributor Author

Let's add relevant tests to this as well

#88

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
@ianmuchyri ianmuchyri merged commit 513b376 into absmach:main Nov 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants