Commit Graph

335 Commits

Author SHA1 Message Date
Vincent Fiduccia 294baf0aa2
Machine SSH & Key download 2021-04-29 14:33:09 -07:00
Nancy Butler 9f106198c4 ignore validation for oauth, service acct cred googleoauth 2021-04-26 11:49:42 -07:00
Vincent Fiduccia 19bcd3127e
Cluster improvements 2021-04-21 17:16:44 -07:00
Nancy Butler 4cf0f8cb32 fix changes from sidecars 2021-04-14 14:40:12 -07:00
Nancy Butler 6a8c619559 fix svc ports for sidecars 2021-04-12 07:08:21 -07:00
Nancy Butler f0e002a8af create/edit/remove sidecars init container 2021-04-12 07:08:21 -07:00
Vincent Fiduccia e41657cf23
Fix rare CSRF mismatch caused by parsing as scientific notation JSON (#2432) 2021-04-06 11:41:18 -07:00
Richard Cox 8d067de9b5 Ensure new users are requested to change password
- If this is enabled when user is created user should be prompted to change password
- Fix is to switch from Steve user create to Norman user create
- #2524
- Also fixes issue where description was not saved if there was no custom model
2021-03-29 13:24:29 +01:00
Richard Cox 83492e663d
Merge pull request #2566 from richard-cox/block-delete-self
Ensure current user cannot deactivate or delete themselves
2021-03-19 09:19:57 +00:00
Richard Cox 32c55446cb Ensure current user cannot deactivate or delete themselves
- the api does not allow the signed in user to deactivate/delete themselves
- ensure that we don't show these options by checking user isn't the signed in one
- ideally this should be done via the api by removing the 'remove' link for the signed in user
2021-03-18 18:14:12 +00:00
Richard Cox 1a82410a8e Fix download yaml when multiple resources are selected
- ensure contents of files is correct
- this matches, roughly, what happens in download()
- fallback on previous way just in case
2021-03-18 12:28:05 +00:00
Richard Cox 5141228743
Merge pull request #2495 from richard-cox/confirm-multi-user
Request typed confirmation when deleting multiple resources
2021-03-18 12:09:09 +00:00
Vincent Fiduccia 75ec34c756
Define and create pools 2021-03-17 23:02:49 -07:00
Richard Cox 4807dfa442 Request confirmation of a random resource when deleting multiple resources
- when deleting multiple resources, and confirm enabled, prompt for a random resource name for confirmation
- random resource name will always be visible, for the case where there are more than 5 to delete
- Improved process to declare which resource requires confirmation
- i10n'd some text
2021-03-09 17:14:33 +00:00
Richard Cox 44af00b5d6
Merge pull request #2298 from richard-cox/user-updates
User - List (actions), Create, Clone, Edit, Details
2021-03-05 09:19:06 +00:00
Neil MacDougall fe29a4ad43 Change label for disabled feature flag 2021-02-25 09:19:58 +00:00
Richard Cox 7d355462df User - List (actions), Create, Clone, Edit, Details
- Update Users list with actions
- Add User create/edit page
- Add User details page
- Brought over user/principal global role validation from ember world
2021-02-24 11:07:02 +00:00
Cody Jackson 5e45a4d00a Resolving several issues around role template
- edit yaml didn't show yaml because a schema wasn't defined
- edit yaml didn't save because the update link wasn't correct
- saving yaml didn't update the models in the stores
- not all input elements were passed the mode when looking at the config view
- the select and array list components had visual issues in view mode (didn't show the values and the buttons didn't line up well)
- cloning failed due to cleanForNew not accounting for the template property

https://github.com/rancher/dashboard/issues/2111#issuecomment-777066167
2021-02-23 15:10:51 -07:00
Nancy db04cd43f3
Merge pull request #2370 from mantis-toboggan-md/workload-detail
workload details pod list update
2021-02-23 09:18:33 -07:00
Nancy Butler 64a1d2b03e workload details pod list update 2021-02-22 08:17:47 -07:00
Neil MacDougall 3c704b0343 Merge remote-tracking branch 'upstream/master' into api-keys 2021-02-22 08:56:17 +00:00
Nancy Butler e572ac137c auth component issues
fix google save action
2021-02-19 11:43:01 -07:00
Richard Cox 1fd6ed02d5
Merge pull request #2300 from nwmac/global-settings
Add support for Global settings and Feature Flags
2021-02-19 14:16:12 +00:00
Richard Cox b0df45baa9
Merge pull request #2344 from codyrancher/constraint-clone
Enable models to override their cleanForNew method
2021-02-19 11:35:26 +00:00
Cody Jackson 9394ea05a4 Enable models to override their cleanForNew method
Constraints were failing to clone because cleanForNew didn't remove `this.constraint` which casued the save method to attempt to save the existing constraint instead of creating a new constraint.

This enables models to be able to create their own cleanForNew method to remove custom props if necessary.

rancher/dashboard#2341
2021-02-18 12:17:56 -07:00
Neil MacDougall dd34927d3d Add polyfill for String.replaceAll 2021-02-17 11:55:56 +00:00
Neil MacDougall 7a4a0532a5 Address PR feedback 2021-02-13 12:25:59 +00:00
Nancy Butler e1d5bea8d1 reconcile azuread bad merge 2021-02-11 14:48:19 -07:00
Neil MacDougall 2293e523f2 Merge remote-tracking branch 'upstream/master' into global-settings 2021-02-11 15:01:21 +00:00
Neil MacDougall 879ec06189 Merge remote-tracking branch 'upstream/master' into api-keys 2021-02-11 13:34:23 +00:00
Cody Jackson 1bf3efd295 Implementing AzureAD auth
rancher/dashboard#2117
2021-02-09 11:53:48 -07:00
Neil MacDougall 5a7963e5b0 Merge remote-tracking branch 'upstream/master' into api-keys 2021-02-09 17:43:09 +00:00
Neil MacDougall 15321fca7a Merge remote-tracking branch 'upstream/master' into global-settings 2021-02-09 10:26:31 +00:00
Neil MacDougall a3b89fc981 Merge remote-tracking branch 'upstream/master' into global-settings 2021-02-08 20:04:08 +00:00
Neil MacDougall ab67d3df27 Add Global Settings and Feature Flags 2021-02-08 20:01:27 +00:00
Neil MacDougall 88cce544c6 Merge remote-tracking branch 'upstream/master' into api-keys 2021-02-05 15:14:17 +00:00
Richard Cox 57b16e42fe Add Users & Auth / Groups page, assign Global Roles to Groups
- Add groups page with table to the auth product
- Allow user to assign roles to groups previously without roles or edit
  groups with existing roles

Comments
- I haven't added any special ux for the case where there's no auth
  provider and therefore no groups
- ./components/GlobalRoleBindings.vue will be updated when the same
  component is used for assign global roles to a user principal
- ./components/GlobalRoleBindings.vue ln 139 Couldn't create a binding
  without the generateName metadata property. Have given this a
  `ui-` prefix. Is this correct?
- In order to determine which global roles are bound to each principal
  (so we can filter by principals that have them).. we go out and fetch
  ALL role bindings. Is this too costly?
- On the groups page the 'refresh' button is quite big, we should
  consider reducing this
2021-02-04 09:16:52 +00:00
Nancy Butler c4bdaeb571 fix boolean validation 2021-02-02 18:48:57 -07:00
Nancy Butler 4f92b0218f fix ldap/saml add users and groups 2021-02-02 12:01:42 -07:00
Neil MacDougall 36c7d9c287 Merge remote-tracking branch 'upstream/master' into api-keys 2021-02-02 11:13:44 +00:00
Neil MacDougall 0a7070ac5c Merge remote-tracking branch 'ricox/api-keys' into api-keys 2021-02-02 11:05:58 +00:00
Cody Jackson fe4ca3b01e Adding the RBAC List, Edit and Details pages
rancher/dashboard#2111
2021-02-01 09:44:30 -07:00
Vincent Fiduccia 895bcb773c
Merge pull request #2189 from richard-cox/update-user-password-2
Add new Accounts & API Keys Page containing new change password feature
2021-01-29 13:30:06 -07:00
Vincent Fiduccia 63650e0896
Subscribe to Rancher store change events 2021-01-29 00:40:23 -07:00
Neil MacDougall e1f6c0b4ee Merge remote-tracking branch 'upstream/master' into api-keys 2021-01-27 09:26:51 +00:00
Vincent Fiduccia 6934f4e8f1
kubectl apply / Cluster import 2021-01-25 15:34:57 -07:00
Richard Cox 2a117c8c10 Merge remote-tracking branch 'origin/update-user-password-2' into api-keys 2021-01-25 14:14:00 +00:00
Richard Cox 8fd85d7553 Add new Accounts & API Keys Page
-Add a new Accounts and API Keys page accessible via user avatar drop down
-Add new change password feature to Accounts page
2021-01-25 11:51:11 +00:00
Vincent Fiduccia e0240f92ef
Merge pull request #2172 from mantis-toboggan-md/auth
ldap, saml, google auth
2021-01-20 11:27:08 -07:00
Neil MacDougall a15fd128bb Add API Keys Support 2021-01-19 12:20:35 +00:00