-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Doctrine YAML mappings to Resources
- Loading branch information
Kenneth Söderlund
committed
Jul 15, 2016
1 parent
d641bf1
commit f77a254
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/Doctrine/Resources/Crisu83.Overseer.Entity.Assignment.dcm.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Crisu83\Overseer\Entity\Assignment: | ||
type: entity | ||
table: rbac_assignments | ||
id: | ||
subjectId: | ||
column: subject_id | ||
type: string | ||
fields: | ||
subjectName: | ||
type: string | ||
column: subject_name | ||
roles: | ||
type: json_array |
12 changes: 12 additions & 0 deletions
12
src/Doctrine/Resources/Crisu83.Overseer.Entity.Permission.dcm.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Crisu83\Overseer\Entity\Permission: | ||
type: entity | ||
table: rbac_permissions | ||
id: | ||
name: | ||
type: string | ||
fields: | ||
resourceName: | ||
type: string | ||
column: resource_name | ||
rules: | ||
type: json_array |
11 changes: 11 additions & 0 deletions
11
src/Doctrine/Resources/Crisu83.Overseer.Entity.Role.dcm.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Crisu83\Overseer\Entity\Role: | ||
type: entity | ||
table: rbac_roles | ||
id: | ||
name: | ||
type: string | ||
fields: | ||
roles: | ||
type: json_array | ||
permissions: | ||
type: json_array |