Skip to content

Commit

Permalink
feat/03-4409: Implementer Tools app should not require 'System Develo…
Browse files Browse the repository at this point in the history
…per' privilege
  • Loading branch information
jwnasambu committed Feb 20, 2025
1 parent 52e975e commit 7990b75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const GlobalImplementerToolsButton: React.FC = () => {
const { isOpen } = useStore(implementerToolsStore);

return (
<UserHasAccess privilege="coreapps.systemAdministration">
<UserHasAccess privilege="O3 Implementer Tools">
<div className={styles.chevronImplementerToolsButton} data-testid="globalImplementerToolsButton">
<div onClick={togglePopup} role="button" tabIndex={0}>
{isOpen ? <ChevronDownIcon size={16} /> : <ChevronUpIcon size={16} />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const ImplementerToolsButton: React.FC = () => {
const { isOpen } = useStore(implementerToolsStore);

return (
<UserHasAccess privilege="coreapps.systemAdministration">
<UserHasAccess privilege="O3 Implementer Tools">
<HeaderGlobalAction
aria-label={t('implementerTools', 'Implementer Tools')}
aria-labelledby="Implementer Tools"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function PopupHandler() {

export default function ImplementerTools() {
return (
<UserHasAccess privilege="coreapps.systemAdministration">
<UserHasAccess privilege="O3 Implementer Tools">
<PopupHandler />
</UserHasAccess>
);
Expand Down

0 comments on commit 7990b75

Please sign in to comment.