Make linter happier

This commit is contained in:
Benedikt Kulmann
2020-08-27 15:52:55 +02:00
parent 0f9e141699
commit e7c69cd6a7
8 changed files with 82 additions and 82 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func (s Store) ListPermissionsByResource(resource *proto.Resource, roleIDs []str
return records, nil
}
// ReadPermissionById finds the permission in the roles, specified by the provided roleIDs
// ReadPermissionByID finds the permission in the roles, specified by the provided roleIDs
func (s Store) ReadPermissionByID(permissionID string, roleIDs []string) (*proto.Permission, error) {
for _, roleID := range roleIDs {
role, err := s.ReadBundle(roleID)