Commit Graph

648 Commits

Author SHA1 Message Date
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
Michael Hoennig
6d85a59744 temporarily removing historicization for UserRoleAssinment
just to prepare a complete HOWTO-commit
2019-05-07 10:57:17 +02:00
Michael Hoennig
5337e7a7e8 historicization trigger+view for Customer, Membership, SepaMandate, Share and Asset 2019-05-07 10:54:27 +02:00
Michael Hoennig
e49323e99f UserRoleAssignment historicization 2019-05-06 19:12:12 +02:00
Michael Hoennig
f3c207528e general historicization table+function for Postgres 2019-05-06 19:11:33 +02:00
Michael Hoennig
295e45e8b8 ReplaceCustomChange: assume auto commit off during Liquibase-Changeset 2019-05-06 18:20:10 +02:00
Michael Hoennig
1284c2acaa add debug hint to README.md 2019-05-06 18:19:37 +02:00
Michael Hoennig
ecd5573654 ReplaceCustomChangeUnitTest 2019-05-06 11:47:08 +02:00
Michael Hoennig
f8ed5069fb sample-data: replacing pipes ('|') with newlines now via customChange
this avoids database-specific code spread over all sample-data/*.xml files
2019-05-05 14:15:07 +02:00
Michael Hoennig
4c42d15c12 fixing sample-data flag via gw -Psample-data in code+documentation 2019-05-05 14:13:17 +02:00
Michael Hoennig
6efa167427 adding Postgres configurations for dev-environment with sample-data 2019-05-04 13:59:36 +02:00
Michael Hierweck
24e76e03d1 Merge branch 'master' of ssh://dev.hostsharing.net:29418/hsadmin/hsadmin-ng 2019-05-04 10:24:45 +02:00