Commit Graph

659 Commits

Author SHA1 Message Date
Michael Hoennig
2b630aadbc hs-package SQL-Scripts in Liquibase and some bugfixes 2022-07-29 12:37:40 +02:00
Michael Hoennig
61c50c46ed hs-customer SQL-Scripts in Liquibase 2022-07-29 12:14:22 +02:00
Michael Hoennig
8ba952a41d hs-customer SQL-Scripts in Liquibase 2022-07-29 11:53:58 +02:00
Michael Hoennig
a478fe4cf1 cleanup in Liquibase files, header, formatting etc. 2022-07-29 11:38:51 +02:00
Michael Hoennig
4edff1c2f0 move rbac.md to doc folder 2022-07-29 09:20:18 +02:00
Michael Hoennig
9beaf5e684 improved README.md for first steps 2022-07-29 09:12:52 +02:00
Michael Hoennig
4c403b0436 formatted SQL code 2022-07-29 08:46:04 +02:00
Michael Hoennig
fb8862c37e convert rbac-statistics and rbac-role-builder*.sql files to Liquibase changesets 2022-07-28 17:17:22 +02:00
Michael Hoennig
583c45c85d add first integration test based on Testcontainers 2022-07-28 16:56:34 +02:00
Michael Hoennig
d234ac3227 convert rbac*.sql files, except test-file, to Liquibase changesets 2022-07-28 16:55:21 +02:00
Michael Hoennig
6c33bbe780 add SpringBoot 2.7.x application 2022-07-28 16:51:36 +02:00
Michael Hoennig
feff1b5794 RBAC documentation improved, but still WIP 2022-07-28 12:15:32 +02:00
Michael Hoennig
306f8d1fa8 improved README.md with aliases for pg-sql-... 2022-07-28 10:43:49 +02:00
Michael Hoennig
457641a2dd introduce referential integrity for role identification - part 2 assume 2022-07-28 10:43:23 +02:00
Michael Hoennig
1dde6b2609 introduce referential integrity for role identification - part 1 2022-07-27 19:54:05 +02:00
Michael Hoennig
6f6320565c the _rv query with WHERE IN was faster after all, removing the JOIN variant 2022-07-27 13:05:19 +02:00
Michael Hoennig
bafae52ce5 _rv query performance experiments 2022-07-27 12:32:54 +02:00
Michael Hoennig
e97022fb02 add documentation to backup+restore the database from PostgreSQL docker container 2022-07-26 13:19:17 +02:00
Michael Hoennig
190d39400a add users to customer+package role diagrams 2022-07-26 13:18:36 +02:00
Michael Hoennig
46c5f5e53e final performance tests as do block to measure total time 2022-07-26 13:18:03 +02:00
Michael Hoennig
04a3438182 improve documentation 2022-07-25 20:11:39 +02:00
Michael Hoennig
4814e7899c better layout for RBAC entity diagram 2022-07-25 17:15:01 +02:00
Michael Hoennig
16513f0786 remove generated pdf 2022-07-25 17:06:42 +02:00
Michael Hoennig
d4eeb35e91 improved role structure including comprised tenant sub roles 2022-07-25 16:38:21 +02:00
Michael Hoennig
377b63ca3d RbacGrants with follow=false for customer.owner to customer.admin 2022-07-22 16:52:49 +02:00
Michael Hoennig
f2d0fbe67a removing JHipster 2022-07-22 13:31:37 +02:00
Michael Hoennig
31cd92f3be #145 [Rights-Module] preparation for module specific roles / fix UserRoleAssignmentCriteria 2019-07-03 22:23:51 +02:00
Michael Hoennig
f79c4bd7a1 #145 [Rights-Module] preparation for module specific roles / static init 2019-07-03 21:54:03 +02:00
Michael Hoennig
7db2c23de1 #145 [Rights-Module] preparation for module specific roles 2019-06-27 23:48:16 +02:00
Michael Hoennig
7983aa7e52 #145 [Rights-Module] documented the role system and some renaming 2019-05-25 19:43:29 +02:00
Michael Hoennig
57b6399950 historicization of JHI_USER_AUTHORITY table 2019-05-25 16:40:41 +02:00
Michael Hoennig
354cfbbebc historicization of JHI_USER table 2019-05-25 16:40:16 +02:00
Michael Hoennig
cbb5532394 Deserializer: improved test code coverage for entity associations 2019-05-22 21:53:45 +02:00
Michael Hoennig
e7cb3622f3 Deserializer: improved test code coverage for IGNORE field access 2019-05-16 20:25:02 +02:00
Michael Hoennig
f9b68df901 Deserializer: BadRequestAlertException("Unknown property") with test code coverage 2019-05-15 07:41:21 +02:00
Michael Hoennig
60612f6c41 #146 [AccessRights] simple AccessFilter for UserRoleAssignments
allows r/w for ADMINs and r/o for SUPPORTERs
no entity dependent access rights implemented yet
2019-05-14 07:36:14 +02:00
Michael Hoennig
3143f27b6c refactored ugly and risky code in role filter / removed Role.isIndependent() 2019-05-10 17:37:36 +02:00
Michael Hoennig
a2b90b0a36 separated MockSecurityContext into SecurityContextMock+SecurityContextMock 2019-05-10 17:21:50 +02:00
Michael Hoennig
72e79e2134 #112 [RightsModule] use UserRoleAssignments from database 2019-05-10 11:18:15 +02:00
Michael Hoennig
01d28a85d4 #137 [Rechte-Modul] sample-data für User+UserRoleAssignment 2019-05-08 20:17:28 +02:00
Michael Hoennig
6eaab336c0 minor corrections in README.md 2019-05-08 13:22:57 +02:00
Michael Hoennig
671d80cc71 adding @EntityTypeId to *DTO as preparation for UserRoleAssignments 2019-05-08 13:17:26 +02:00
Michael Hoennig
735f672ea1 UserRoleAssignment entityTypeId+entityObjectId now required
this table only stores entity-dependent roles,
independent roles are stored in the JHipster table JHI_USER_AUTHORITY
2019-05-08 10:56:48 +02:00
Michael Hoennig
8ca206e1c0 accessrights.jdl: UserRoleAssignments entity*Id required
Merge branch 'jhipster-generated'
2019-05-07 13:08:26 +02:00
Michael Hoennig
bac012f9b4 accessrights.jdl: UserRoleAssignments entity*Id required 2019-05-07 13:01:04 +02:00
Michael Hoennig
167bac8a1d minor improvements to jhipster workflow 2019-05-07 12:57:14 +02:00
Michael Hoennig
c756a251c2 .gitignore /worktrees/ 2019-05-07 12:45:15 +02:00
Michael Hoennig
3228b0d0da make Hibernate sequence start above 1,000,000 to spare ids for sample data 2019-05-07 12:11:17 +02:00
Michael Hoennig
a45e809228 updated moving HOWTO-tag documentation in README.md 2019-05-07 11:04:41 +02:00
Michael Hoennig
807ed74091 historicization for UserRoleAssinment 2019-05-07 11:01:01 +02:00