-
Notifications
You must be signed in to change notification settings - Fork 9
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
feature: list resource templates #821
Conversation
4a468b9
to
cb15089
Compare
canOverwrite: false, | ||
}, | ||
]); | ||
|
||
add() { |
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.
Remove unused methods add, edit, delete, overwrite
canOverwrite: false, | ||
}, | ||
]); | ||
|
||
add() { |
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.
Remove unused methods add, edit, delete, overwrite
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.
Once the unused methods have been removed, it can be merged.
permissions = computed(() => { | ||
if (this.authService.restrictions().length > 0 && this.resourceType()) { | ||
return { | ||
canShowSuperTypeTemplates: this.authService.hasPermission(RESOURCETYPE_PERM, Action.READ), |
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.
Maybe rename to canShowTypeTemplates
As opposed to functions, there are no supertype templates: If a template is created on the parent resource type, it is not visible in the child resource type.