respect billing permission in frontend, fix hiding of billing banners

This commit is contained in:
Gregor Vostrak
2024-09-05 13:52:35 +02:00
committed by Constantin Graf
parent 4969fcba7e
commit 83301d03ca
7 changed files with 39 additions and 27 deletions

View File

@@ -96,3 +96,7 @@ export function canCreateTags() {
export function canDeleteTags() {
return currentUserHasPermission('tags:delete');
}
export function canManageBilling() {
return currentUserHasPermission('billing');
}