-
Notifications
You must be signed in to change notification settings - Fork 148
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
[ACS-8645][Legal Hold] ACA - context menu - hide unnecessary options #4064
base: develop
Are you sure you want to change the base?
[ACS-8645][Legal Hold] ACA - context menu - hide unnecessary options #4064
Conversation
@@ -27,6 +27,7 @@ import { RuleContext } from '@alfresco/adf-extensions'; | |||
import * as navigation from './navigation.rules'; | |||
import * as repository from './repository.rules'; | |||
import { isAdmin } from './user.rules'; | |||
import { NodeEntry } from '@alfresco/js-api/typings'; |
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.
should not have '/typings' in the import
@@ -629,3 +631,5 @@ export function isSmartFolder(context: RuleContext): boolean { | |||
export const areTagsEnabled = (context: AcaRuleContext): boolean => context.appConfig.get('plugins.tagsEnabled', true); | |||
|
|||
export const areCategoriesEnabled = (context: AcaRuleContext): boolean => context.appConfig.get('plugins.categoriesEnabled', true); | |||
|
|||
export const isNodeFrozen = (_context: RuleContext, node: NodeEntry): boolean => !!node?.entry?.properties?.['rma:frozenAt']; |
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.
This aspect should only be available from governance, this rule should not be placed in ACA
…-unnecessary-options
…-unnecessary-options
…-unnecessary-options
Quality Gate passedIssues Measures |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
https://hyland.atlassian.net/browse/ACS-8645
What is the new behaviour?
most options are hidden for files on hold
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: