Commit Graph
282 Commits
Author SHA1 Message Date
Axel Uhl 89e8bef9c8 Revert "removed PluginNature from our OSGi bundles; they are not Eclipse plugins";
according to https://bugs.eclipse.org/bugs/show_bug.cgi?id=544977#c21 the
scenario of using the ManifestBuilder without setting the PluginNature is
not a supported scenario. Besides, it doesn't help to get rid of the new
Eclipse warning regarding non-exported packages.

This reverts commit 063484e29f.
2019-05-28 21:54:20 +02:00
Axel Uhl 063484e29f removed PluginNature from our OSGi bundles; they are not Eclipse plugins 2019-05-27 22:53:30 +02:00
Steffen Jacobs 1498e5e7e7 Bug 5040: added CAN_EXPORT_MASTERDATA to
SecuredSecurityTypes.ALL_ACTIONS
2019-05-21 14:08:51 +02:00
Steffen Jacobs 67e5239873 Bug5040: added ServerAction CAN_EXPORT_MASTERDATA 2019-05-16 17:18:47 +02:00
Axel Uhl 085c3f071d consolidated master data import actions for security module
Change-Id: I054b8891442456cf222607f763a29c99d943ea17
2019-05-16 11:31:02 +02:00
Steffen Schaefer daa9cdc3f3 Replaced WildcardPermissionChecker used internally in PermissionChecker
with a BiFunction now that we can use Java 8
2019-04-11 13:02:41 +02:00
Steffen Schaefer fcbc81f475 Bug 4986: Added more documentation and improved method naming 2019-04-11 11:57:59 +02:00
Steffen Schaefer a6ec86c415 Bug 4986: Implemented expanding of multiple id parts to distinct
permissions to make it possible for the meta permission check to resolve
ownerships
2019-04-11 09:18:35 +02:00
Steffen Schaefer f572d774ae Bug 4986: Implemented meta permission check with dynamic ownership
lookup
2019-04-11 09:18:30 +02:00
Axel Uhl 448a8bcb51 Merge branch 'master' into permission-vertical 2019-04-06 01:15:10 +02:00
Axel Uhl 2b098c7f83 switched remaining projects from JavaSE-1.7 to JavaSE-1.8
Change-Id: Ib053b405b79edaaf5183e155690f02b08f7eef95
2019-04-05 22:40:16 +02:00
Steffen Schaefer 4e433e2f98 Bug 4963: Replicator actions are now part of the SERVER security type 2019-04-03 13:15:53 +02:00
Steffen Schaefer f7c4af091f Bug 4963: Updated the available actions for the REPLICATOR security type 2019-04-03 11:42:50 +02:00
Steffen Schaefer 497008bd93 Bug 4963: Moved REPLICATOR security type to SecuredSecurityTypes as it
is part of SSE and not the sailing domain
2019-04-03 11:18:30 +02:00
Steffen Jacobs 64b0332229 added DefaultActions.UPDATE action to server actions 2019-03-29 14:34:11 +01:00
Axel Uhl 5f38483070 parameter rename for clarity
Change-Id: Ie69e34c23a923ae6f38cd517f58062ba12a2447d
2019-03-29 11:29:44 +01:00
Steffen Schaefer 6f036e9a57 Fixed escaping when loading QualifiedObjectIdentifierImpl from the DB 2019-03-26 16:42:24 +01:00
Axel Uhl f145be0e05 added Javadoc for SecurityUserGroup.getRoleDefinitionMap
Change-Id: Ibc94e67c3912afe9bb43500968052aceaa3934fc
2019-03-19 17:41:25 +01:00
Steffen Jacobs e44d6a9f5a Merge branch 'permission-vertical' into bug4895 2019-03-08 16:37:42 +01:00
Steffen Jacobs d180073a26 Bug 4397: added READ_PUBLIC action to UserRole 2019-03-07 17:10:57 +01:00
Steffen Jacobs e97390326e Bug 4937: moved READ_PUBLIC to SecuredSecurityType and removed
CompetitorAndBoatAction accordingly.
2019-03-07 17:04:07 +01:00
Steffen Schaefer 0eb25a2a45 Merge branch 'permission-vertical' into bug4895 2019-03-07 11:19:30 +01:00
Steffen Jacobs 2a382a76e7 Bug 4933: Removed grant/revoke permissions 2019-03-07 10:52:45 +01:00
Steffen Schaefer 6f37b5178e Merge branch 'permission-vertical' into bug4895 2019-03-07 09:23:31 +01:00
Steffen Jacobs fc6ef56af3 added RolesAndPermissionsForUserDTO + method in UserManagementService to
retrieve it for a given user name
2019-03-06 17:58:27 +01:00
Axel Uhl 4ad7872967 trying to include DeviceConfiguration UUID handling in Race Manager App
Change-Id: Iee95cf0ce14c340018b369621a7d50c5a90f4150
2019-03-01 18:06:55 +01:00
Axel Uhl d5f979ca8f make TypeRelativeObjectIdentifier's field final
Change-Id: I0ec6944b44df0dee07114615bdfc7705dbc7b8ee
2019-02-27 18:31:33 +01:00
Axel Uhl c4f31460a7 fixed getIdentifier implementation of RoleDefinition/RolePrototype;
added tests; remove default constructor from
TypeRelativeObjectIdentifier to avoid confusion; introduced a custom
field serializer instead and use it in QualifiedObjectIdentifierImpl's
custom field serializers.

Change-Id: If6057c21771a8488581ef9f6b401e09ec1b6a8cc
2019-02-27 17:30:09 +01:00
Axel Uhl ca52320c98 added another failing test for RoleDefinition.getIdentifier management
Change-Id: I706e120e86782f95884813a8e62382b870c09d7b
2019-02-27 17:04:01 +01:00
Axel Uhl 46c8d8c441 removed trailing blanks
Change-Id: Ie789db21a660ca7869804f3a1c2a0caf40ace858
2019-02-27 12:19:57 +01:00
Axel Uhl b5bfdf6f73 Merge remote-tracking branch 'server/permission-vertical' into permission-vertical
Change-Id: If8f68ba771d9dc17b57c4312b13787cc0588f6fa
2019-02-21 13:25:31 +01:00
Axel Uhl 7bfddc6926 refactored User-related methods on SecurityService to avoid sending User objects through replication operations;
this way, no patching of the userGroupProvider property after
de-serialization is necessary, and no replacement of a User object in
the UserStore should ever happen.

Change-Id: I23a8ae53b6a53ca89a2a0b8a11dc779f4034db57
2019-02-21 13:21:04 +01:00
Kai Börnert 3a65aa40c3 Ensure that already escaped identifiers that are stored in the Database
will not be escaped again on loading, adjusted test to contain some of
the original offenders
2019-02-21 13:15:48 +01:00
Steffen Schaefer 8db23f6d0f Moderator now also has DETAIL_TIMER permission 2019-02-21 10:47:21 +01:00
Steffen Jacobs 033f5a0a65 added FORCE_OVERWRITE_PASSWORD action to UserActions to allow 2019-02-21 10:45:44 +01:00
Axel Uhl e64e708008 expose userGroupProvider property on User; align in UserStoreImpl for de-serialized copies
Change-Id: I0d520d2b8d19ceb2405d1c1c289d0f839600eb6f
2019-02-20 19:08:13 +01:00
Steffen Jacobs c3fe829b65 added WildcardPermissionWithSecurityDTO and used it in UserDTO 2019-02-14 16:28:23 +01:00
Steffen Jacobs 711a21a647 added RoleWithSecurityDTO and used it in UserDTO 2019-02-14 16:10:50 +01:00
Steffen Schaefer 11e03bc36e Adjusted initial permissions of PredefinedRoles to be consistent with
the current permission model
2019-02-12 15:31:01 +01:00
Benjamin Barth 07decf4dda bug4393 Changed required permissions when using a related secure type 2019-02-07 17:03:02 +01:00
Steffen Schaefer 8653707307 Added parameter names 2019-02-07 08:51:53 +01:00
Steffen Schaefer 244b61f9f9 Added JavaDocs 2019-02-07 08:47:11 +01:00
Steffen Schaefer 221e1cac38 Removed unnecessary null check 2019-02-07 08:32:13 +01:00
Steffen Jacobs b231c5cff2 Bug 4816: made SecuredSecurityTypes.DATA_MINING an action of Server 2019-02-05 19:00:42 +01:00
Steffen Schaefer fda9b5ff94 Changed the definition of a public server to be defined by
sailing_viewer role associated to the server group with forAll=true
2019-02-04 14:33:49 +01:00
Steffen Schaefer 4d1bb9c441 Improved toString of UserImpl and UserGroupImpl 2019-02-04 09:21:58 +01:00
Steffen Schaefer c8ad3a4053 Fixed NPE 2019-01-29 15:39:06 +01:00
Steffen Schaefer 0f74b0d275 Included RoleDefinitions associated to UserGroups in permission checks 2019-01-29 15:38:44 +01:00
Steffen Schaefer a412252d6d Removed code duplication by extracting a common method 2019-01-29 14:53:17 +01:00
Steffen Schaefer ce4fc5eb04 Extended security DTO model to include RoleDefinitions associated to
groups. These will be needed by permission checks.
2019-01-29 14:52:21 +01:00