k9s/internal
Samuel Demirdjian e2b21c0133
Fix order of arguments for `CanI` function call (#1866)
When checking permissions to (un)suspend cronjobs, a user will always be
considered as unauthorized, because of the wrong arguments order when
calling the `CanI` function.

For `CanI` definition, see:
2f72441bac/internal/client/client.go (L138)
```
func (a *APIClient) CanI(ns, gvr string, verbs []string) (auth bool, err error)
```
2022-11-15 23:06:31 -07:00
..
client K9s/rel v0.26.7 (#1816) 2022-10-18 09:01:20 -06:00
color checkpoint 2020-10-26 16:49:28 -06:00
config fix #1773 2022-09-26 19:27:43 -06:00
dao Fix order of arguments for `CanI` function call (#1866) 2022-11-15 23:06:31 -07:00
health add thresholds + pulses tlc + fix #596 #593 #560 2020-03-04 12:27:47 -07:00
model Bump all references of github.com/cenkalti/backoff to v4 (#1821) 2022-10-30 07:41:17 -06:00
perf K9s: release v0.25.12 (#1379) 2021-12-14 23:46:32 -07:00
port release v0.25.8 (#1354) 2021-12-03 15:18:12 -07:00
render K9s/rel v0.26.7 (#1816) 2022-10-18 09:01:20 -06:00
tchart fix cron triggers (#1171) 2021-06-29 08:25:04 -06:00
ui K9s/rel v0.26.4 (#1767) 2022-09-21 14:28:21 -06:00
view Bump all references of github.com/cenkalti/backoff to v4 (#1821) 2022-10-30 07:41:17 -06:00
watch K9s: release v0.25.12 (#1379) 2021-12-14 23:46:32 -07:00
xray fix #1773 2022-09-26 19:27:43 -06:00
keys.go add resource ref support for sec, sa and cm 2020-05-27 21:23:02 -06:00