Commit Graph

422 Commits

Author SHA1 Message Date
Richard Cox e05c3cfcf5 Ensure groups list refreshes after role binding remove
#2541
2021-03-29 15:35:06 +01:00
Richard Cox 4f8cec29d6 Add copy button to user in user detail top 2021-03-29 13:24:29 +01: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 cadc872344
Merge pull request #2517 from richard-cox/fix-users
Fix User type and Settings Product when user is non-admin in non-local cluster
2021-03-18 12:15:04 +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 0b197a34a8
More AWS 2021-03-17 23:02:50 -07:00
Vincent Fiduccia d575b41683
Some AWS support 2021-03-17 23:02:50 -07:00
Vincent Fiduccia 32c24bf5c0
Better driver picker 2021-03-17 23:02:50 -07:00
Vincent Fiduccia 75ec34c756
Define and create pools 2021-03-17 23:02:49 -07:00
Vincent Fiduccia 473a5bdc7f
Create cloud cred in place, DO store, API renames 2021-03-17 23:02:46 -07:00
codyrancher 04d195e27d
Merge pull request #2491 from codyrancher/feature-flag-storatge
Adding support for `unsupported-storage-drivers`
2021-03-17 15:05:35 -07:00
Cody Jackson 661cef5a62 Adding support for `unsupported-storage-drivers`
- Adding unsupported storageclasses
- Adding unsupported persistent

rancher/dashboard#2284

Adding the persistent volume plugins that are gated by the `unsupported-storage-drivers` feature flag.
2021-03-15 16:25:07 -07:00
codyrancher 35c242c1b3
Merge pull request #2522 from codyrancher/role-template-validation
Adding validation to role template
2021-03-15 11:58:51 -07:00
Cody Jackson 3963da0798 Adding validation to role template
- Ensuring that the verbs field is filled out

rancher/dashboard#2358
2021-03-15 11:52:14 -07:00
Westly Wright 4b038f42ee
Refactor design for HPA Metric details table 2021-03-12 10:22:23 -07:00
Westly Wright 617a86ae05
use type for hpa type in details 2021-03-12 10:22:23 -07:00
Richard Cox f82dbf049f Change following review 2021-03-12 16:15:51 +00:00
Richard Cox 51e2115d70 Fix users list deactivate when in non-local cluster and non-admin 2021-03-11 15:24:58 +00: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
Vincent Fiduccia 8adcafc7bb
Support standalone steve 2021-03-02 15:44:24 -07:00
Richard Cox 4a75351435
Merge pull request #2446 from richard-cox/norman-api-keys
Switch API Key feature API from new steve to old norman
2021-02-26 10:17:07 +00:00
Richard Cox 9028e48712 Convert api key feature's calls and model from new steve to old norman
- As per conversation the newer steve api is not ready and only supports admins
- Calls for list and delete now use norman tokes and not steve management.cattle.io.token
- Supporting components have been updated to use the different model
- Also fixed a bug where tokens with +1 month expiry times would cause exceptions
2021-02-25 21:35:24 +00:00
Richard Cox 578391ba91 Fix disparity between admin and standard user global settings actions
- previously admin showed `edit` and standard user showed `view config` & `view yaml`
- neither 'view' action should be visible
- this makes use of empty action menu feature in #2440
2021-02-25 16:33:28 +00:00
Richard Cox 8b2e1e2f38
Merge pull request #2440 from nwmac/fix-fflags
Feature Flags: Don't show activate options if user does not have permission
2021-02-25 16:32:57 +00:00
codyrancher 19c1b46348
Merge pull request #2435 from codyrancher/pv-claim
Resolving an issue around claims showing up when creating a pv
2021-02-25 09:18:12 -07:00
Neil MacDougall 9907b82baa Feature Flags: Don't show activate options if user does not have permission 2021-02-25 15:16:10 +00:00
Cody Jackson 4a54037987 Resolving an issue around claims showing up when creating a pv
When creating a PV the name is undefined and that allowed it to find PVCs that had
volumeName undefined.

rancher/dashboard#2431
2021-02-25 02:53:10 -07:00
Neil MacDougall fe29a4ad43 Change label for disabled feature flag 2021-02-25 09:19:58 +00:00
codyrancher b06c11e91e
Merge pull request #2419 from codyrancher/pv-minor-issues
Resolving several minor bugs around persistent volumes
2021-02-25 00:56:45 -07:00
Vincent Fiduccia 3c7b072895
Separate type vs subtype display for Secrets 2021-02-24 16:35:00 -07:00
Cody Jackson d724d4f5c2 Resolving several minor bugs around persistent volumes
- The checkboxSetter for access mode was just wrong and updated to handle setting properly.
- Passed mode to checkboxes
- Made deletion action dependent on not being in a 'bound' state
2021-02-24 11:18:13 -07:00
Cody Jackson c05bbeb528 Adding the ability to set default storageclasses
Adding the ability to select default storage classes as it was missed as part of the migration.

rancher/dashboard#2415
2021-02-24 10:08:24 -07:00
Richard Cox 32ed52dc71 Add Cluster column to User Detail's Project Roles Table 2021-02-24 11:07:02 +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
Neil MacDougall fc35f85bec Fix issue where feature flag state is not shown correctly 2021-02-24 09:21:19 +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
codyrancher 7133705db8
Merge pull request #1948 from codyrancher/receiver-auth-fields
Adding tls and auth fields to the email and webhook receivers
2021-02-23 13:40:52 -07:00
Cody Jackson a646f80d57 Adding tls and auth fields to the email and webhook receivers
- Also fixed some mode issues with ArrayListGrouped that showed up on the view of these pages. Still need more tweaking to make it look good though.

rancher/dashboard#1818
2021-02-23 13:24:45 -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
Richard Cox e2674cace1 Ensure PVC clone retains Request Storage & Access Modes values
- these were overwritten by the model's applyDefaults and a default component value
- we now handle clone in both cases
2021-02-23 15:08:48 +00:00
Neil MacDougall bfe872ee33
Merge pull request #2214 from nwmac/api-keys
Add support for API Keys
2021-02-23 13:12:53 +00:00
Richard Cox 83f487eaaf Best effort to improve bulk remove of tokens
Move any ui session token to the back of the delete queue
2021-02-23 11:17:26 +00:00
Neil MacDougall 7548259aac
Merge pull request #2332 from mantis-toboggan-md/workload-service
use listening port field for nodeport
2021-02-23 09:17:47 +00:00
Vincent Fiduccia dafa06cf33
Fix workload filtering 2021-02-22 16:26:53 -07:00
Vincent Fiduccia 4fff440304
Merge pull request #2325 from dbason/fix-31286
Filter ownerReferences to standard kinds
2021-02-22 12:34:33 -08: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
Vincent Fiduccia 920fd361f6
Support requests-cpu & memory chart annotations (#1849) 2021-02-19 17:39:56 -07:00
Nancy a925b3fb05
Merge pull request #2355 from mantis-toboggan-md/auth
auth component issues
2021-02-19 12:51:56 -07:00