Files
online-backend/internal/identity/permissionrole/storage.go
GuwandykA 848a07324f
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
rm -rf permission module
2026-09-19 02:40:38 +05:00

11 lines
339 B
Go

package permissionrole
import "context"
type Repository interface {
// SetPermissions replaces the role's permission set. See
// SetRolePermissionsDTO for the exact (add/remove/clear) semantics.
SetPermissions(ctx context.Context, dto SetRolePermissionsDTO) ([]PermissionRoleDTO, error)
Delete(ctx context.Context, id int64) error
}