diff options
Diffstat (limited to 'store/layered_store.go')
-rw-r--r-- | store/layered_store.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/store/layered_store.go b/store/layered_store.go index cac0f61d3..5ef907260 100644 --- a/store/layered_store.go +++ b/store/layered_store.go @@ -252,3 +252,9 @@ func (s *LayeredRoleStore) GetByNames(names []string) StoreChannel { return supplier.RoleGetByNames(s.TmpContext, names) }) } + +func (s *LayeredRoleStore) PermanentDeleteAll() StoreChannel { + return s.RunQuery(func(supplier LayeredStoreSupplier) *LayeredStoreSupplierResult { + return supplier.RolePermanentDeleteAll(s.TmpContext) + }) +} |