refactor(statestore): own package for the State Store service; access reset moves to archie-state-store
This commit is contained in:
25 files changed
+307
-176
No files matched your search
@@ -169,7 +169,7 @@ func (s *Store) EnsureShippedOrgPolicies(ctx context.Context, orgID org.OrgID) e
|
||||
|
||||
// ResetOrgPolicies restores the shipped role policies for one org and
|
||||
// removes its other org-level policies. It is the store-side half of
|
||||
// `archied access reset --org`, which runs on this host and records the
|
||||
// `archie-state-store access reset --org`, which runs on this host and records the
|
||||
// reset as an audit event.
|
||||
func (s *Store) ResetOrgPolicies(ctx context.Context, orgID org.OrgID) error {
|
||||
if orgID == "" {
|
||||
|
||||
Reference in new issue
Block a user