Steffen Schaefer
11e03bc36e
Adjusted initial permissions of PredefinedRoles to be consistent with
...
the current permission model
2019-02-12 15:31:01 +01:00
Steffen Schaefer
55ffdd9fb0
Ensures that created sailing_viewer RoleDefinition has a proper
...
ownership set initially
2019-02-12 13:51:06 +01:00
Steffen Schaefer
781bf525c0
sailing_viewer role is now initially added to the server group in case
...
of a new UserStore or during permission vertical migration
2019-02-12 09:34:29 +01:00
Steffen Schaefer
f47c221cf6
It's now possible to customize the SecurityService initialization from
...
domain bundles via OSGi service
2019-02-12 09:33:38 +01:00
Steffen Schaefer
82aba84e4a
Prevent leaking ServiceTracker instance in case of SecurityService
...
reinitialization during selenium tests
2019-02-12 09:32:14 +01:00
Steffen Schaefer
663968157a
Removed unnecessary method parameter because the BundleContext is
...
available as field in the Activator
2019-02-12 09:31:05 +01:00
Steffen Schaefer
29309ba3a6
Users having admin role for the server will now be added as members of
...
the server group
2019-02-12 07:57:28 +01:00
Steffen Schaefer
4dd41f76ed
On migration the old permission data_mining is replaced with a new one
...
that is restriced to the specific server
2019-02-12 07:44:54 +01:00
Steffen Schaefer
7c9921a786
The admin user will now get global admin role instead of a scoped one
...
during migration to permission-vertical. This ensures that at least one
user will be able to manage global configurations. In addition this is
consistent behavior compared to new servers.
2019-02-11 19:06:35 +01:00
Steffen Schaefer
44de615e1d
Users will have the user role added in case of a migration
2019-02-11 17:54:43 +01:00
Steffen Schaefer
8c0c6086ea
Moved migration code to sse.security bundle because it requires the
...
SecurityService which is not hosted in sse.security.userstore.mongodb
bundle. This will most probably resolve cycles between several bundles.
2019-02-11 17:39:17 +01:00
Steffen Schaefer
49db29334b
Not migrating default creation tenant when loading users. Tenant will be
...
explicitly created during explicit migration after object cycles are
restored.
2019-02-11 16:53:06 +01:00
Steffen Schaefer
2a19976d76
Existing users will now get a tenant during migration if the user is
...
assumed to not be migrated by now. There are corner cases that will
trigger tenant creation again but this is a rare case that most probably
won't happen intentionally. In addition, creation of the user's tenant
will not create additional permissions for any previously existing
objects.
2019-02-11 16:27:25 +01:00
Steffen Schaefer
65339cfb5f
Restructured the code to create the tenant for a user. This will allow
...
to reuse this during migration.
2019-02-11 16:10:17 +01:00
Steffen Schaefer
4e18d26729
Fixed compiler error after changing a parameter type
2019-02-11 16:10:15 +01:00
Steffen Schaefer
3868019c0d
Default creation tenant isn't set on user creation anymore. This helps
...
to resolve issues with the creation order of Users and UserGroups as
well as migration issues. In addition this simplifies the setup of
several test cases.
2019-02-11 16:10:13 +01:00
Steffen Schaefer
97104c37f5
Fixed replication of default creation tenants
2019-02-11 16:10:11 +01:00
Kai Börnert
8e0effbd78
fixed wrong bundle dependencies
2019-02-11 15:51:55 +01:00
Kai Börnert
f691dd4795
Merge branch 'permission-vertical' of ssh://trac@sapsailing.com/home/trac/git into permission-vertical
2019-02-11 14:57:00 +01:00
Kai Börnert
f565be3e78
sse depending on sailing cannot be correct
2019-02-11 14:52:47 +01:00
Steffen Schaefer
7ff340aca3
Added migration code to be able to replace old permissions with newer
...
replacements. In case sailing specific replacements are necessary, we
need to think about an improved version that can obtain replacements
through OSGi registry.
2019-02-11 14:51:20 +01:00
Steffen Schaefer
ec9da1a992
Migrated users are now owned by themselves as new users would be
2019-02-11 13:28:12 +01:00
Steffen Schaefer
c7fad79198
Code simplification
2019-02-11 13:26:52 +01:00
Steffen Schaefer
cde571b218
The <all> user and its USER:CREATE permission association is now owned
...
by the server group only. This ensures that server admins can
read/update the <all> user but this can't be done by any other user
having no specific permissions.
2019-02-11 12:45:28 +01:00
Steffen Schaefer
1d4c462a88
Added missing messages after last merge of current master
2019-02-11 11:27:48 +01:00
Steffen Schaefer
20077e4b24
Applied message key change in German messages that was already done in
...
the default messages some time ago
2019-02-11 11:11:33 +01:00
Steffen Schaefer
d5de117dfa
Added missing message after last merge of current master
2019-02-11 11:10:12 +01:00
Kai Börnert
250783b4ae
Merge branch 'master' into permission-vertical
...
Conflicts:
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/LeaderboardConfigPanel.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
2019-02-11 09:25:45 +01:00
Axel Uhl
2f38d0aaf1
Merge remote-tracking branch 'origin/master'
2019-02-10 10:27:41 +01:00
Axel Uhl
169241b1e6
updated 2019 declination to the new model
2019-02-10 10:24:48 +01:00
Axel Uhl
3aa6ce44ec
added release notes for the "Laura" factor (bug4469)
2019-02-09 17:51:47 +00:00
Axel Uhl
13017762ba
adjusted Javadoc to new range of boatChangeFactor for pairing list construction
2019-02-09 17:45:30 +00:00
Axel Uhl
c3cac7df98
Merge remote branch 'origin/master' into bug4469
2019-02-09 17:33:47 +00:00
Axel Uhl
319bae8179
declination-2019 update up to lat -55
2019-02-09 18:31:55 +01:00
Axel Uhl
bec2969357
updated java/target/status script to use /gwt/status
2019-02-09 16:48:11 +01:00
Axel Uhl
a63377fd11
added /gwt/status servlet to probe availability including GWT bundle
2019-02-09 16:38:45 +01:00
Kucki99
74d82e310c
bug4469: updated pairing list creation info text
2019-02-09 14:40:40 +01:00
Axel Uhl
d8a8384dad
un-commented timeout @Rule again
...
Change-Id: I014702d8284c7f06d6a60069c069309cc1a55c7c
2019-02-08 17:30:57 +01:00
Axel Uhl
017ec8834b
the soon obsolete clustering-based wind estimation from maneuvers needed some adjustment;
...
for a small fleet such as OBMR 2012 the risk of clustering becoming
random was just too high; I changed the test to use a different race
(470M R5 Gold at KW2013) and adjusted the algorithm to use only 12
instead of 16 clusters, now that the small head-up and bear-away
maneuvers should no longer be delivered by the maneuver algorithm
Change-Id: Ia863d6afbd5de6f8598d717535af8258be361e5e
2019-02-08 17:28:33 +01:00
Axel Uhl
2f22f117cf
fixed penalty circle time in test verdict
...
Change-Id: I8c2b2465db9256590c64257e05f169a03b76f434
2019-02-08 14:37:54 +01:00
Axel Uhl
115712b518
carefully adjusted maneuver time points in tests;
...
I manually checked all those maneuvers on the map. Probably since the
refactoring of the maneuver analysis some of them may already have moved to the
borders of the interval permitted; now with slightly different
approximation points, some of them slid outside the interval accepted
although still OK on the map.
Change-Id: I15ecb8278b13c8fb28dbca0c5c849ece80aac012
2019-02-08 12:41:37 +01:00
Axel Uhl
f8bd88822e
fixed broken test by mocking the getBoatOfCompetitor method required by new approximator
...
Change-Id: I676524d18a4862015544d75d204c977e0fe555b8
2019-02-08 12:41:11 +01:00
Axel Uhl
4f761b3103
improved comment
...
Change-Id: I2dc2b0f773c8aed0bd5574cce95fa45de8dcc003
2019-02-08 12:40:38 +01:00
Axel Uhl
dcaba26c51
Merge branch 'master' into bug826
...
Change-Id: Iafeec2cf5e7f7997621f6f79fc4aa11b6ba7b354
2019-02-08 01:17:33 +01:00
Axel Uhl
098fc59fe0
Merge branch 'translation'
...
Change-Id: I18d723e869b2897382bb339cbda6f6c88501f01f
2019-02-08 00:21:47 +01:00
Axel Uhl
50c939b750
bug826: working version of incremental maneuver candidate identification; tests locally green
...
Change-Id: I37c9bcb080b66d4249bbf882605d611b5f71ea9b
2019-02-08 00:17:02 +01:00
Robin Kuck
62ae9d4186
bug4469: fixed range of boat change factor listbox
2019-02-07 20:06:08 +01:00
Robin Kuck
98166a50db
bug4469: fixed exception when there are more competitors than free slots
...
in one flight
2019-02-07 19:46:13 +01:00
Axel Uhl
e21c80f018
stateful maneuver candidate analysis, listening for changes
...
Change-Id: Ia2397a595b6d6917bcc4e2f8c134d36e7e83429b
2019-02-07 18:54:40 +01:00
Kai Börnert
6aac2e83b0
Merge branch 'permission-vertical' of ssh://trac@sapsailing.com/home/trac/git into permission-vertical
2019-02-07 18:31:13 +01:00