-
Notifications
You must be signed in to change notification settings - Fork 0
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
1.0.0 #4
1.0.0 #4
Conversation
@JacquesDIconica please squash the commit messages |
packages/flutter_rbac_services_data_interface/lib/src/models/account_data_model.dart
Outdated
Show resolved
Hide resolved
packages/flutter_rbac_services_data_interface/lib/src/models/assignment_model.dart
Outdated
Show resolved
Hide resolved
packages/flutter_rbac_services_data_interface/lib/src/models/permission_model.dart
Outdated
Show resolved
Hide resolved
packages/flutter_rbac_services_data_interface/lib/src/models/role_data_model.dart
Outdated
Show resolved
Hide resolved
packages/flutter_rbac_services_data_interface/lib/src/models/securable_object_data_model.dart
Outdated
Show resolved
Hide resolved
@Gorter-dev @JacquesDIconica maybe it should also be an option to provide the collectionnames so people can have multiple rbac instances in the same firestore database like we did with Safino. |
56d2c34
to
d2fc57d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example can be removed, please improve README
README.md
Outdated
@@ -0,0 +1,47 @@ | |||
# Flutter RBAC Service | |||
|
|||
Flutter RBAC Service is a package that enables to add a RBAC system to an excisting project. Currently only a Firebase Firestore datasource is provided, but a custom datasource can be constructed by implementing the `RbacDataInterface` and providing this to the `RbacService`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
README.md
Outdated
To use this package, add flutter_rbac_services as a dependency in your pubspec.yaml file: | ||
|
||
``` | ||
flutter_rbac_services: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
services should be service
|
||
``` | ||
RbacService( | ||
FirebaseRbacDatasource( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Casing
README.md
Outdated
), | ||
``` | ||
|
||
From here any methods can be called from this service to set up and use RBAC. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What method and how?
@@ -1,4 +1 @@ | |||
library flutter_rbac_services; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Library should be there?
url: https://github.com/Iconica-Development/flutter_rbac_service.git | ||
path: packages/flutter_rbac_services_data_interface | ||
|
||
path: ../flutter_rbac_services_data_interface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before creating PR, should be reset to GIT
library flutter_rbac_services_data_interface; | ||
|
||
export 'src/rbac_data_interface.dart'; | ||
export 'src/models/account_data_model.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Library should still be there
@@ -1,3 +1 @@ | |||
library flutter_rbac_services_firebase; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Library should still be there
import 'package:flutter_rbac_services_rest/flutter_rbac_services_rest.dart'; | ||
import 'package:flutter_test/flutter_test.dart'; | ||
|
||
void main() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be removed right?
@@ -1,5 +1,3 @@ | |||
library flutter_rbac_services_rest; | |||
|
|||
/// A Calculator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this?
5b85b9a
to
92eaf24
Compare
Closes #1