Skip to content

Commit 06e7be9

Browse files
committed
Minor docs update
1 parent 6e923bf commit 06e7be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

permission/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (s *Store) deletePermission(ctx context.Context, p Permission) error {
132132
return nil
133133
}
134134

135-
// removePermissionForRoles deletes the connection between a Role and Permission
135+
// removePermissionForRoles deletes the connection between multiple role.Role and a Permission
136136
func (s *Store) removePermissionForRoles(ctx context.Context, p Permission) error {
137137
builder := utils.PSQL().Delete("people.role_permissions").
138138
Where(sq.Eq{"permission_id": p.PermissionID})

0 commit comments

Comments
 (0)