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

feat: implemented proper functioning enforce method and added tests for rbac #28

Merged
merged 2 commits into from
Jun 21, 2021
Merged

Conversation

MrUnfunny
Copy link
Contributor

@MrUnfunny MrUnfunny commented Jun 15, 2021

Fix: #13

RBAC model works.

Copy link
Contributor

@santhoshivan23 santhoshivan23 left a comment

Choose a reason for hiding this comment

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

lgtm

examples/rbac_model.conf Outdated Show resolved Hide resolved
@hsluoyz hsluoyz merged commit 17b498c into casbin:master Jun 21, 2021
github-actions bot pushed a commit that referenced this pull request Aug 20, 2021
# [0.1.0](v0.0.1...v0.1.0) (2021-08-20)

### Bug Fixes

* better error texts in defaultRoleManager ([59b525f](59b525f))
* fix return of enforce method ([0b154ac](0b154ac))
* fixed assertion issue ([480a05e](480a05e))
* fixed exceptions to be more specific ([2ef8b36](2ef8b36))
* fixed suggested changes ([8f9048b](8f9048b))

### Features

* added classes and methods to load model from CONF file ([411d7bf](411d7bf))
* added github actions for analysing code and running test on PR and pushes ([66cf631](66cf631))
* added license text in all dart files ([c4135fe](c4135fe))
* added license text to new files ([a9e6ee9](a9e6ee9))
* added missing methods to enforcer apis ([858f8d7](858f8d7))
* added missing methods to model module ([106b363](106b363))
* added more methods to enforcer ([664af28](664af28))
* added required methods to enforcer apis ([8867283](8867283))
* added support for abac and added tests ([6ea535d](6ea535d))
* added tests for enforcer and management api ([596d604](596d604))
* added tests for logger ([b5333c4](b5333c4))
* added tests for matcher functions ([6e27cd8](6e27cd8))
* added tests for matcher functions ([39b4285](39b4285))
* exported required files ([bdd612a](bdd612a))
* fixed small issue and added tests ([bdfaccc](bdfaccc))
* Implement config interface ([cb57ee0](cb57ee0))
* implemented enforce to create minimum working prototype ([2eb8d01](2eb8d01))
* implemented logger ([9af6435](9af6435))
* implemented matcher functions - part 1 ([ccb2e1b](ccb2e1b))
* implemented methods for enforcer, coreEnforcer and added tests ([6354ab5](6354ab5))
* implemented missing methods to file adapter ([e9c4568](e9c4568))
* implemented missing parts of persist module ([4682653](4682653))
* implemented proper functioning enforce method and added tests for rbac ([#28](#28)) ([17b498c](17b498c))
* implemented remaining matcher functions ([316947d](316947d))
* prepared for new release ([#48](#48)) ([eee526a](eee526a))
* updated lint rules to prefer relative imports ([438a9fb](438a9fb))
* updated workflow to automate github and pub.dev release ([#47](#47)) ([e5692df](e5692df))
@github-actions
Copy link

🎉 This PR is included in version 0.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the basic ACL & RBAC models work and add some test cases for it
3 participants