Commit Graph
1030 Commits
Author SHA1 Message Date
Kai Börnert 5597b7f4d0 Merge branch 'permission-vertical' into bug4813
Conflicts:
	java/com.sap.sse.security.common/src/com/sap/sse/security/shared/impl/PermissionAndRoleAssociation.java
	java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/Activator.java
	java/com.sap.sse.security/src/com/sap/sse/security/impl/SecurityServiceImpl.java
2019-01-08 12:03:11 +01:00
Kai Börnert 45954c53c6 Merge branch 'permission-vertical' of ssh://trac@sapsailing.com/home/trac/git into permission-vertical 2019-01-08 10:43:42 +01:00
Axel Uhl 5bebb7af48 Added missing web subject factory configuration to the other shiro.ini configs
Change-Id: I874a50d4e175729d652f2a237ea249045685977f
2019-01-07 18:10:08 +01:00
Kai Börnert 766ba82888 added permission association handing 2019-01-07 16:22:19 +01:00
Steffen Schaefer 488cb00417 Merge branch 'permission-vertical' into bug4813 2019-01-07 09:36:56 +01:00
Kai Börnert 045c502438 Merge branch 'master' into permission-vertical
Conflicts:
	java/com.sap.sailing.server.test/src/com/sap/sailing/server/test/SearchServiceTest.java
2019-01-07 09:07:40 +01:00
Axel Uhl 2dac583429 avoid exception while querying private tags without logged-in user
Change-Id: I138cd5ff83284ba647a9af4d1ff9bcd129697b89
2019-01-02 10:55:38 +01:00
Kai Börnert 3fcc0f1626 removed unused type parameter 2018-12-19 13:00:02 +01:00
Steffen Schaefer 976b901f11 Unified permission handling in client and server 2018-12-19 10:23:40 +01:00
Steffen Schaefer 43b6d155e4 Merge branch 'permission-vertical' into bug4813
Conflicts:
	java/com.sap.sse.security.common/src/com/sap/sse/security/shared/dto/UserDTO.java
2018-12-19 08:31:18 +01:00
Steffen Schaefer 4eaa69cec4 Further reduced size of security relevant objects 2018-12-18 19:27:56 +01:00
Thomas Wiese 1fcdd6fc66 bug 4813: fix PermissionAndRoleAssociation to build
TypeRelativeObjectIdentifier
2018-12-18 14:21:41 +01:00
Thomas Wiese 475356f8b8 Merge branch 'permission-vertical' into bug4813
# Conflicts:
#	java/com.sap.sailing.domain.swisstimingadapter.persistence/src/com/sap/sailing/domain/swisstimingadapter/persistence/impl/SwissTimingAdapterPersistenceImpl.java
#	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/EventsResource.java
2018-12-18 13:32:12 +01:00
Kai Börnert cd2eafc80e adjusted securityservice to allow different ownerTenant for
createSimpleUser than the default one.
2018-12-18 10:08:53 +01:00
Benjamin Barth 3ec8c428f5 Integrated new user roles editor implementation to UserEditDialog 2018-12-17 16:38:32 +01:00
Benjamin Barth 058c05e7fa Added new ListEditorComposite implementation to editor user roles 2018-12-17 16:38:31 +01:00
Thomas Wiese a387055f95 bug 4813: building the identifier for permissions checks is now be done
by supporting a TypeRelativeObjectIdentifer object that has to be built
by domain objects
2018-12-17 15:49:44 +01:00
Kai Börnert e6cee2e365 wip for role associations 2018-12-13 17:01:30 +01:00
Thomas Wiese 08bb22851b bug 4813: corrected ownership on creating user group 2018-12-12 16:38:33 +01:00
Thomas Wiese 3069defd73 Merge branch 'permission-vertical' into bug4813 2018-12-10 17:04:06 +01:00
Kai Börnert 6618aec634 formatting only 2018-12-10 13:36:47 +01:00
Kai Börnert bdb47b50ae When removing a RoleDefinition, also remove all Role objects related to
it
2018-12-10 10:32:35 +01:00
Thomas Wiese 82b6cd4a2f bug 4813: fixing getStringPermissionForObject to get typerelative
identifier by object
2018-12-07 21:33:16 +01:00
Thomas Wiese 09e0f12fbc bug 4813: use concrete object instead of typerelative identifier to
build QualifiedObjectIdentifiers by delegation to the identiferstrategy
of the permissions type
2018-12-07 14:09:57 +01:00
Thomas Wiese 4c9442f8d5 Merge branch 'permission-vertical' into bug4813 2018-12-07 08:26:32 +01:00
Benjamin Barth a252482848 Refactored / statibilised AclEditPanel used in EditACLDialog 2018-12-06 17:18:47 +01:00
Thomas Wiese 1d427a3f5c Merge branch 'permission-vertical' into bug4813
Conflicts:
	java/com.sap.sse.security.ui/src/main/java/com/sap/sse/security/ui/client/component/UserGroupManagementPanel.java
2018-12-06 14:32:05 +01:00
Thomas Wiese b965882121 bug 4813: add getPermissionForObject-method to accept domain object.
Setting the corresponding method based on
typerelativeObjetctIdentigfiers to deprecated.
Continued transition to type based id determination for
SecureDomainTypes SEVRER and MEDIA_TRACK.
2018-12-06 14:21:03 +01:00
Benjamin Barth f13c4eab7d Removed ACL list from UserManagementPanel 2018-12-06 13:47:58 +01:00
Benjamin Barth a34b3558fc Integrated AccessControlledButtonPanel into UserGroupManagementPanel 2018-12-06 10:57:29 +01:00
Thomas Wiese 7773e4e294 Merge branch 'permission-vertical' into bug4813 2018-12-05 17:56:18 +01:00
Benjamin Barth 951b3c8732 Avoid multiple user loading and potential NPE when updating ownerships 2018-12-05 16:52:14 +01:00
Kai Börnert 65a294c6dc changed checkPermissionAndDeleteOwnershipForObjectRemoval in favor of a
type safe version that does not handle with strings
2018-12-05 11:34:24 +01:00
Kai Börnert 2dbf2bd9d0 fixed deletion of RoleDefinition 2018-12-05 10:03:53 +01:00
Thomas Wiese 8c9e35c12d bug 4813: eleminate id factories in filter methods of security service 2018-12-04 16:27:07 +01:00
Thomas Wiese 6fa00334f3 removed id factories from EditOwnershipDialog and EditAclDialog 2018-12-04 14:37:55 +01:00
Thomas Wiese 3fff7866f7 Merge branch 'permission-vertical' into bug4813
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/LeaderboardConfigPanel.java
2018-12-04 12:59:22 +01:00
Thomas Wiese b2930b1b8e bug 4813: First draft for defining identifier strategy in HasPermissions
for SecuredDomainTypes and SecureSecurityTypes to hide complexity and
create a single point of responsibilty for identiferAsString-Logic.
2018-12-04 12:46:19 +01:00
Steffen Jacobs 9c52f70eeb adjusted permission check in
UserManagementServiceImpl.getAccessControlList to work with ACLs which
are associated with the null object
2018-12-03 19:28:09 +01:00
Steffen Jacobs 83adbe66b2 added "Edit ACL for Null Usergroup"-button for testing purposes 2018-12-03 19:27:32 +01:00
Steffen Jacobs 23f6923a3a minor refactor in UserGroupTableWrapper to improve code reusability 2018-12-03 19:26:46 +01:00
Steffen Jacobs c5935a2350 added null usergroup to pruning whitelist 2018-12-03 15:16:59 +01:00
Steffen Jacobs 2815513286 adjusted retrieval of UserGroups of Alluser to avoid possible
NullPointerException and renamed method
2018-12-03 14:58:29 +01:00
Steffen Jacobs 6c12bf37cc take usergroups of alluser into account during pruning 2018-12-03 14:53:57 +01:00
Steffen Jacobs bbafa75c27 removed unnecessary duplicate code in UserGroupManagementPanel and
UserGroupTableWrapper
2018-12-03 13:32:19 +01:00
Steffen Jacobs 52ea777430 javadoc + refactor of UserGroupManagementPanel 2018-12-03 13:16:12 +01:00
Kai Börnert e74388aadc fix for incorrect check regarding users ability to change roles 2018-12-03 11:51:50 +01:00
Steffen Jacobs 19d318abe4 i18n + correct refresh in UserGroupTable 2018-11-30 15:37:47 +01:00
Steffen Jacobs 6babf54d45 fixed refresh issue in User Group Management panel 2018-11-30 14:36:59 +01:00
Steffen Jacobs 5f41405b1b added Group and User columns to UserGroup table 2018-11-30 14:20:20 +01:00