mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-05 18:42:55 +00:00
bug5927: Added new action to premium role and switched to correct SecuredDto.
This commit is contained in:
1 parent
3ab4e414aa
commit
be47d6e1a2
2 files changed
+4
-1
No files matched your search
+2
@@ -28,6 +28,8 @@ public class PremiumRole extends RolePrototype {
|
||||
.withActions(SecuredSecurityTypes.UserActions.BE_PREMIUM).build(),
|
||||
WildcardPermission.builder().withTypes(SecuredDomainType.TRACKED_RACE)
|
||||
.withActions(SecuredDomainType.TrackedRaceActions.VIEWANALYSISCHARTS).build(),
|
||||
WildcardPermission.builder().withTypes(SecuredDomainType.TRACKED_RACE)
|
||||
.withActions(SecuredDomainType.TrackedRaceActions.DETAILTYPES).build(),
|
||||
WildcardPermission.builder().withTypes(SecuredDomainType.LEADERBOARD)
|
||||
.withActions(SecuredDomainType.LeaderboardActions.PREMIUM_LEADERBOARD_INFORMATION).build());
|
||||
}
|
||||
|
||||
+2
-1
@@ -2888,7 +2888,8 @@ public class RaceMap extends AbstractCompositeComponent<RaceMapSettings> impleme
|
||||
selectedDetailType = null;
|
||||
metricOverlay.setVisible(false);
|
||||
// create new premium list box
|
||||
SailingPremiumListBox lb = new SailingPremiumListBox(stringMessages.none(), "none", TrackedRaceActions.DETAILTYPES, paywallResolver, competitor);
|
||||
SailingPremiumListBox lb = new SailingPremiumListBox(stringMessages.none(), "none",
|
||||
TrackedRaceActions.DETAILTYPES, paywallResolver, raceMapLifecycle.getRaceDTO());
|
||||
fillItemsFromAvailableDetailTypes(lb);
|
||||
lb.setVisibleItemCount(1);
|
||||
lb.addChangeHandler(new ChangeHandler() {
|
||||
|
||||
Reference in new issue
Block a user