Commit Graph
100 Commits
Author SHA1 Message Date
Michael Hoennig 86128f5994 test alignment and code cleanup 2022-08-05 15:39:23 +02:00
Michael Hoennig f16953877f add RbacUser* tests and improved http status codes 2022-08-05 15:00:29 +02:00
Michael Hoennig bef358eda6 add RbacUser* tests and improved http status codes 2022-08-05 14:31:54 +02:00
Michael Hoennig f2bc42bd85 replace GRP with PRM in requirements 2022-08-05 13:11:01 +02:00
Michael Hoennig 433d0e19f5 add Gradle Java toolchain and improve documentation 2022-08-05 13:10:11 +02:00
Michael Hoennig 06996e4dc4 add RbacUserController/-Entity/-Repository 2022-08-04 17:23:10 +02:00
Michael Hoennig 18f3234272 clickable link to markdown plugin settings for IntelliJ IDEA 2022-08-04 14:56:19 +02:00
Michael Hoennig e2bdb96e83 README: How to Run the Appplication on a Different Port 2022-08-04 13:07:16 +02:00
Michael Hoennig 58200eee1f cleanup IntelliJ DB run scripts, not needed anymore due to Liquibase 2022-08-04 12:34:51 +02:00
Michael Hoennig 507bee0953 fix gradle .gitignore 2022-08-04 12:30:14 +02:00
Michael Hoennig 80b1e0ff25 add OWASP dependencyCheck 2022-08-04 12:26:41 +02:00
Michael Hoennig d9ee0017dd set gradle wrapper version+distribution 2022-08-04 12:25:42 +02:00
Michael Hoennig 60f2af6404 remove gradle wrapper from JHipster + configure version 7.5 for "gradle wrapper" 2022-08-04 11:15:08 +02:00
Michael Hoennig 9945eddf7a Merge remote-tracking branch 'origin/spike/ATN+HST'
# Conflicts:
#	.gitignore
#	TODO.md
#	tools/todo-progress
#	tools/todo-progress.gnuplot
2022-08-04 11:08:26 +02:00
Michael Hoennig 45c1bed43b add TODO document + progress calculation 2022-08-04 11:06:07 +02:00
Michael Hoennig bf3da34d32 add adr for row-level-security 2022-08-04 10:51:21 +02:00
Michael Hoennig 2eb8b70517 add glossary 2022-08-04 10:49:31 +02:00
Michael Hoennig a2f2fdb6a4 add spotless 2022-08-04 10:11:35 +02:00
Michael Hoennig 8605d4c4f1 PackageController+Repository with name search option 2022-08-04 09:26:01 +02:00
Michael Hoennig 212b1077c8 adds RbacRoleControllerRestTest + RbacRoleRepositoryIntegrationTest + fix duplicate key 2022-08-04 09:11:11 +02:00
Michael Hoennig 57cf316c00 for customer findAll()->findCustomerByOptionalPrefix(...) 2022-08-04 09:09:06 +02:00
Michael Hoennig 8fb92f9978 remove hateoas and hal explorer for now 2022-08-03 09:07:02 +02:00
Michael Hoennig 5f08b41724 add SwaggerUI 2022-08-03 09:06:21 +02:00
Michael Hoennig dc6445544a add RbacRoleEntity.roleName as computed column 2022-08-03 08:52:45 +02:00
Michael Hoennig ece36209a5 add RbacRole... 2022-08-03 06:12:16 +02:00
Michael Hoennig bb05eb4ac4 refactoring packages, moving Hostsharing related entities etc. to hs package 2022-08-03 06:11:39 +02:00
Michael Hoennig 142aac2bce add ArchUnitTest 2022-08-02 15:51:06 +02:00
Michael Hoennig 2ac476d99b add-customer and introducing JpaAttempt test helper 2022-08-02 14:31:48 +02:00
Michael Hoennig 03ee2cfd62 add-customer and introducing JpaAttempt test helper 2022-08-02 11:51:36 +02:00
Michael Hoennig f58a68d1cc experimental CustomerRepositoryIntegrationTest with Given/When/Then classes 2022-08-01 12:53:09 +02:00
Michael Hoennig 27c5699c36 add CustomerRepositoryIntegrationTest, fix testcontainers liquibase context and improve error messages 2022-07-31 18:56:03 +02:00
Michael Hoennig 5d4fb85383 TODO tracking 2022-07-31 15:16:49 +02:00
Michael Hoennig 53d3d68021 introduce TestPackage.java 2022-07-30 18:37:32 +02:00
Michael Hoennig 1463807b89 initial test-concept documentation 2022-07-30 18:23:18 +02:00
Michael Hoennig 08804bd45c use plural for /api/packages too 2022-07-30 18:23:02 +02:00
Michael Hoennig fe4fef2752 add CustomerControllerRestTest and -UnitTest 2022-07-30 18:17:45 +02:00
Michael Hoennig 2610ecd311 add PackageControllerTest as WebMvcTest through the REST API 2022-07-30 16:35:26 +02:00
Michael Hoennig b20920d646 make package owner/admin/tenant roles assumable 2022-07-29 16:25:46 +02:00
Michael Hoennig 4721d1be23 PackagerEntity, -Repository and -Controller 2022-07-29 16:13:38 +02:00
Michael Hoennig 46957dc590 bugfix in pureIdentifier + findUuidByIdName and CustomerEntity+Repository 2022-07-29 15:53:20 +02:00
Michael Hoennig 5126514877 improved README.md with TOC 2022-07-29 15:39:35 +02:00
Michael Hoennig 414149f0a1 introduce Context service 2022-07-29 14:24:50 +02:00
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
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