bcgov / bcgov/entity

Hide 'Deactivate Account Button' for staff without authorization

Open
#8,737 0 comments 0 reactions 0 assignees View on GitHub
authorization Pay
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

### Description
Only staff with the account_creator group are able to complete account deactivation for Business Registry accounts. Currently the 'Deactivate Account' option displays regardless of the staff members keycloak groups.

Hide the 'Deactivate Account' button when the staff member does not have the account_creator group associated to their IDIR.

### Ops Process
- [ ] Add **Entity** or **Relationships** label to zenhub ticket
- [ ] Add **Ops** label
- [ ] Add **Priority1** label to zenhub ticket, if:
- If the business says it is a priority
- BA can use their business knowledge and best judgement if it is a priority or not
- How long the ticket has been open
- If we are still unsure, reach out to other BAs in the guild
- [ ] Assign zenhub ticket to the current developer on ops rotation
- [ ] When ticket has been created, post the ticket in RocketChat '#Operations Tasks' channel
- [ ] Reply All to IT Ops email (CC BA Inbox) and provide zenhub ticket number opened
- [ ] Dev/BAs to resolve issue
- [ ] **DEV**: Enter the time you worked on the ticket in the estimate
- [ ] **DEV**: Tell BA it is ready to review
- [ ] BAs review
- [ ] Add ticket to the current milestone of the code base the ops ticket was relating to (i.e., if it's a Name Request issue, assign to current entities milestone, etc.)
- [ ] Close Zenhub ticket
- [ ] Tell IT Ops to close the ServiceNow Incident

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.