Pass grant scope ID through API handlers (#184)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-07-10 17:56:33 -04:00
1 parent bcdcaffa6f
commit f30d4d08ef
4 files changed
+237 -168

No files matched your search

@@ -34,15 +34,15 @@ message Role {
// disabled is by default false and allows a Role to be marked disabled.
// @inject_tag: `gorm:"default:null"`
bool disabled = 9;
bool disabled = 8;
// version allows optimistic locking of the role when modifying the role
// itself and when modifying dependent items like principal roles.
// @inject_tag: `gorm:"default:null"`
uint32 version = 10;
uint32 version = 9;
// grant_scope_id is used for delegating access; it defines a scope other than
// the role's scope that is used when compiling these grants into an ACL
// @inject_tag: `gorm:"default:null"`
string grant_scope_id = 11;
string grant_scope_id = 10;
}