Repository navigation
Commit a2c63cd
committed
fix(api): drop session.Role after base removed the field
Session no longer carries Role (removed upstream when the auth model
moved to group-based permissions via HasPermissionAPI). Remove the
stale session.Role reference from principalFromBearerToken and drop
the corresponding test assertion that expected a role value the session
mock never set.
Closes the go vet compile error blocking pre-commit on PR #864.1 parent e87f41a commit a2c63cd
2 files changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | 166 | | |
168 | 167 | | |
169 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
| |||
0 commit comments