Commit Graph
45937 Commits
Author SHA1 Message Date
Thomas Wiese 34f861f74e allow anonymous access to Regatta Rest-API endpoint createAndAddCompetitor for registering on open regattas 2018-10-25 10:58:46 +02:00
Thomas Wiese ac1de530ff Init selenium test for open regattas in admin console 2018-10-24 15:39:52 +02:00
Thomas Wiese 5787bac40c Messages for registration link configuration dialog 2018-10-24 15:39:36 +02:00
Thomas Wiese 81a1ba6494 moved parameters for open regatta registrations to mandatory section 2018-10-24 15:38:59 +02:00
Thomas Wiese 40c4bd4d92 added parameters for open regatta registrations 2018-10-24 15:38:52 +02:00
Thomas Wiese 7cba4ce051 removed trailing spaces 2018-10-24 15:38:35 +02:00
Thomas Wiese d376789c10 init enable button for registration link config correctly 2018-10-24 15:37:58 +02:00
Thomas Wiese b9a76ca351 remove trailing spaces 2018-10-24 15:36:37 +02:00
Thomas Wiese cc2c751223 Merge branch 'bug4709' into bug4709_pv
Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/base/Regatta.java
	java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/SlicingTest.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/CreateRegattaCallback.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingService.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingServiceAsync.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
	java/com.sap.sailing.server.gateway.test/src/com/sap/sailing/server/gateway/test/jaxrs/AbstractJaxRsApiTest.java
	java/com.sap.sailing.server.gateway.test/src/com/sap/sailing/server/gateway/test/jaxrs/RegattasResourceTest.java
	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/EventsResource.java
	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/RegattasResource.java
2018-10-24 15:20:27 +02:00
Benjamin Barth c13bf08c1b Adjusted permission checks for UserManagementPanel table actions 2018-10-23 14:41:50 +02:00
Kai Börnert 6cf037f7cb Merge branch 'permission-vertical' of ssh://trac@sapsailing.com/home/trac/git into permission-vertical 2018-10-23 13:56:22 +02:00
Kai Börnert 559a2e70cc improved deletion of users and usergroups related to ownerships 2018-10-23 13:56:13 +02:00
Steffen Schäfer 0503b3e7ba Fixed broken resource path after master merge 2018-10-23 13:42:16 +02:00
Steffen Schäfer 9c2ff665a7 Merge branch 'master' into permission-vertical
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/RestApiApplication.java
	java/com.sap.sailing.server.gateway/webservices/api/v1/index.html
	java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/Activator.java
	java/com.sap.sse.security/META-INF/MANIFEST.MF
2018-10-23 13:10:46 +02:00
Steffen Schäfer 854e2e5624 Using generic functionality for several permission checks 2018-10-23 11:26:03 +02:00
Kai Börnert bebbba4e6a ensure that initially on load the user and usergroup to ownership maps
are populated
2018-10-23 11:16:46 +02:00
Kai Börnert 08fdbf4dcb cleanup ownership handling on delete 2018-10-23 10:57:51 +02:00
Axel Uhl 8e121bbd54 reverted formatting changes of bd52f60cd8 in SailingServiceImpl.java
Change-Id: I32bfec445fdf5ca7f18ec8a17ea65bc61d20d6dd
2018-10-23 10:53:47 +02:00
Kai Börnert f733fd6748 fixed wrong example in docu for rest api 2018-10-23 08:39:29 +02:00
Steffen Schäfer e66a7984c5 Added several fixmes for permission checks that need to be fixed or
extended
2018-10-23 08:16:35 +02:00
Steffen Schäfer f61a1d95b9 Replaced non working string permission checks with typed ones 2018-10-23 08:10:27 +02:00
Steffen Schäfer c886e1a372 Removed unused service method that implements a non qualified permission
check for a non existing type
2018-10-23 08:00:42 +02:00
Kai Börnert 8f24e3140f removed security checks for preferences inside SecurityServiceImpl,
added checks as necessary to UserManagementServiceImpl
2018-10-22 18:48:59 +02:00
Kai Börnert c6a8a8dc74 remove simpler invalid permission checks with proper ones 2018-10-22 18:12:36 +02:00
Kai Börnert a77c8a83f3 moved NamedDTO and SecurityObject to be visible by sse, extracted
SecurityDTOUtil
2018-10-22 17:29:43 +02:00
Kai Börnert e11fdfcf18 moved AccessControlledActionsColumn to sse 2018-10-22 15:29:33 +02:00
Kai Börnert d2cb9262dd only show roles, if the current use has permissions to see them 2018-10-22 15:16:50 +02:00
Axel Uhl a66cffb1f4 added a "Refresh" tooltip/title to the TaggingPanel's refresh button
Change-Id: If609457d9874d1afff7b713f3fecc79d3f4ae7b2
2018-10-22 14:08:48 +02:00
Axel Uhl 92a6a5f72e added URL encoding for tag title when sharing
Change-Id: I95b722fe32d7e08f54d29b1654d7e9364d0e93e4
2018-10-22 13:58:18 +02:00
Axel Uhl 80ba0c4d40 moved TAG_URL_PARAMETER parsing to RaceBoard perspective settings
Change-Id: I7ca5517de7815043c45d2566d6bc6220c0448f9a
2018-10-22 13:35:43 +02:00
Steffen Schäfer bf3430cd4b Merge branch 'master' into permission-vertical 2018-10-22 13:09:05 +02:00
Steffen Schäfer 982edf5193 Streamlined permission checks in AdminConsole to allow access to most
users that have the permission to mutate at least one possible instance
(which does not mean there is such an instance yet). Most UIs should
filter the contents based on read permissions (some are already
implemented, others will follow) which means users could see an empty
list instead.
2018-10-22 12:55:00 +02:00
Steffen Schäfer 323ce41286 Using PermissionChecker.hasUserAnyPermission to decide if a user can see
a specific AdminConsole panel
2018-10-22 12:54:58 +02:00
Steffen Schäfer 5a81c14887 Added more test cases 2018-10-22 12:54:56 +02:00
Steffen Schäfer 9c3aacbf76 Fixed PermissionChecker.hasUserAnyPermission to also match qualified
roles if the check is not qualified for a specific ownership (this still
means, the user has permission for at least one possible instance)
2018-10-22 12:54:54 +02:00
Kai Börnert 1533bb2de0 implemented todo regarding tab default state with java 8 2018-10-22 12:35:10 +02:00
Axel Uhl 6a30bfdd13 Merge branch 'master' into bug4104
Change-Id: Id9c4399fa0a2c4c15acd3a2e72586bd989d4eada
2018-10-22 11:33:19 +02:00
Axel Uhl 14198f67d6 Merge remote-tracking branch 'server/master'
Change-Id: I45819a84de6740aaa5d7a07dea96f8930c2d712c
2018-10-22 11:32:08 +02:00
Axel Uhl 141d3eb5c0 adjusted TracAPI OSGi manifest after package was removed
Change-Id: Iea7412b115d67f4b2ee29787241faa65a5dd193e
2018-10-22 11:26:18 +02:00
Kai Börnert 4e290010ef renamed method to better fit naming scheme 2018-10-22 10:18:34 +02:00
Kai Börnert 378f18e64f made security checks null resistant, null == deny 2018-10-22 10:18:05 +02:00
Steffen Wagner 9bd0267c29 updated Hudson Slave image to use (updated MongoDB in image to 3.2) 2018-10-19 18:20:19 +00:00
Axel Uhl 88fa26ac6d Merge branch 'master' into bug4104
Change-Id: I83390f1518900a6265c4181a52172aa3f47948f4
2018-10-19 18:10:34 +02:00
Axel Uhl d64c4b90bf upgrade from TracAPI 3.11.0 to 3.11.1
Change-Id: I86458dee9e5c0962a10d97bf2c376c01a8edd5d7
2018-10-19 18:09:25 +02:00
Kai Börnert f5f567cb3f wip for allowing raceboard to work without leaderboard permissions 2018-10-19 17:22:13 +02:00
Kai Börnert 84bae26d0f do not require leaderboard read permissions to start a raceboard, also
reduced amount of calls for startup
2018-10-19 16:04:40 +02:00
Steffen Schäfer 54d52a22d9 Merge branch 'master' into permission-vertical
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/RegattaLogTrackingDeviceMappingsDialog.java
2018-10-19 15:22:12 +02:00
Steffen Schäfer 4c8987c8aa Initially implemented unit tests for newly introduced PermissionChecker
methods
2018-10-19 15:19:22 +02:00
Steffen Schäfer 90f669d51a Fixed copy&paste bugs 2018-10-19 15:19:20 +02:00
Steffen Schäfer 6a706d092b Initial UserService implementation to check if a user has at least one
required permission
2018-10-19 15:19:18 +02:00