mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 03:32:15 +01:00
respect billing permission in frontend, fix hiding of billing banners
This commit is contained in:
committed by
Constantin Graf
parent
4969fcba7e
commit
83301d03ca
@@ -96,3 +96,7 @@ export function canCreateTags() {
|
||||
export function canDeleteTags() {
|
||||
return currentUserHasPermission('tags:delete');
|
||||
}
|
||||
|
||||
export function canManageBilling() {
|
||||
return currentUserHasPermission('billing');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user