-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display view licence tabs only to permitted users #949
Display view licence tabs only to permitted users #949
Conversation
@@ -71,7 +71,8 @@ function go (licence, licenceAbstractionConditions) { | |||
registeredTo, | |||
sourceOfSupply: abstractionDetails.sourceOfSupply, | |||
startDate: formatLongDate(startDate), | |||
warning: _generateWarningMessage(ends) | |||
warning: _generateWarningMessage(ends), | |||
roles: _getAuthRoles(auth) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Started to get a sonar cloud error - https://sonarcloud.io/project/issues?resolved=false&severities=MAJOR&sinceLeakPeriod=true&branch=view-license-role-based-tabs-for-bills-and-charge-information&id=DEFRA_water-abstraction-system&open=AY8pIrHhp7fcpGn2GYJe
this did not happen when the notification work was done.
ae89fc5
to
fb99f03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few corrections and suggestions!
https://eaflood.atlassian.net/browse/WATER-4432 > Part of a series of changes to replace the legacy view licence page This change will only show the billing and charge information tabs on the view license page if the user has the appropriate role.
0ef4de3
to
42f40e5
Compare
…harge-information
Co-authored-by: Alan Cruikshanks <[email protected]>
Co-authored-by: Alan Cruikshanks <[email protected]>
Co-authored-by: Alan Cruikshanks <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…harge-information
Display view licence tabs only to permitted users
https://eaflood.atlassian.net/browse/WATER-4432
This change will only show the billing and charge information tabs on the view license page if the user has the appropriate role.