TT#122200 SubscriberProfiles - As Subscriber, I want to see the "Reminder"-Feature, if I have the permission according to the SubscriberProfile, to do so
NOTE - You need to install backend PPA if not yet merged ngcp-ppa gerrit_TT122001_review49995 - For AR testing the feature, in adminUI you have to: 1. create a Subscriber profile set 2. add two profiles, one with reminder attribute checked 3. go to Subscriber > Details > Master Data > Edit and select the newly created profileset and the profile with Reminder attribute checked 4. login with the edited subscriber and check that you are able to access Reminder module either from left menu and via url 5. change the created subscriber profile set selecting the second profile (the one without reminder attribute) 6. refresh CSC and check if Reminder is gone in left menu, and if trying to access the route via url you are redirected to / 7. try to unassign the profile set from the subscriber, reload CSC and check that scenario of previous point happens Change-Id: I6a09e6764a8a1cd9abd31ad7cb3d1df11d1b5953mr9.5.2
parent
be03c7fa73
commit
5388fe2128
@ -0,0 +1,7 @@
|
||||
import { hasJwt } from 'src/auth'
|
||||
|
||||
export default async ({ store }) => {
|
||||
if (hasJwt()) {
|
||||
await store.dispatch('user/initUser')
|
||||
}
|
||||
}
|
Loading…
Reference in new issue