Commit Graph

9975 Commits

Author SHA1 Message Date
Westly Wright a256d4cddc
populate default roles for custom roles as well 2019-12-03 15:10:53 -07:00
Westly Wright d61fb855dc
Merge pull request #3602 from westlywright/grb-groups-updates
Global Role Bugs
2019-12-03 14:52:21 -07:00
Westly Wright fef26de7d4
Merge pull request #3599 from codyrancher/cis-scan
Implement the list and detail views for CIS scan
2019-12-03 14:52:04 -07:00
Westly Wright 78d23ab4d9
pass user-roles to save and add all target to resource validation
rancher/rancher#24362
2019-12-03 12:54:46 -07:00
Westly Wright 0d8d6ab28e
Refactor role permissions validator
the old permissions validating was somewhat dumb in its checking, only looking
for local names of roles. This updates the check to loop through all the roles
and fetch there rules upon which we check for the existance of certain rules and
targets.

This also includes fixes for some broken links which happened as apart of the
previous change to this area.

This also fixes a broken translation

rancher/rancher#24341
2019-12-03 11:46:34 -07:00
Westly Wright 56305e3f18
alert global role remover how many users have role
rancher/rancher#24301
2019-12-03 11:46:30 -07:00
Westly Wright cbdd32f493
Add warning to global roles view when no default user role exists
rancher/rancher#24301
2019-12-03 11:46:16 -07:00
Westly Wright dfef2438d6
Merge pull request #3600 from westlywright/grb-groups-updates
Group Role Fixes
2019-12-02 14:54:44 -07:00
Cody Jackson 5126642250 Implement the list and detail views for CIS scan
This adds and implements the /c/<clusterid>/cis/scan
and /c/<clusterid>/cis/scan/detail/<scanid> routes.

rancher/rancher#20425
2019-12-02 14:45:56 -07:00
Westly Wright fcf05c3681
remove group link that doesn't work 2019-12-02 14:25:51 -07:00
Westly Wright fdac35182b
fix broken link to accounts 2019-12-02 14:17:29 -07:00
Westly Wright 24784ce409
Merge pull request #3595 from westlywright/feature.gr.auth.groups
[Feature] Associate External Group with Global Role Binding
2019-12-02 09:47:08 -07:00
Westly Wright e6e2a9071e
Merge pull request #3596 from loganhz/istio
Fix Isitio route issue
2019-12-02 09:41:34 -07:00
Westly Wright a7a81456b4
Feature: associate global role w/external group
rancher/rancher#23452

expose link-to new-group route

Translations change and move static property (convention)

Refactor form-global-roles

Refactor such that user and group are optional parameters. Adds
groupPrincipalId. Destructure smarter so that users are not required for the
mapper function to work. Move bindings to own init. Refactor make to recognize
groups. Translations changes.

Add cru-group-account component

This component does not actually create a group but a global-role-binding with a
groupPrincipalId instead of a userId. Perhaps cru-global-role-binding would work
but in the future this component can and probably will be adapted to create
local groups as well, so the name would fit. At that point the component could
also be refactored to work for the add user page because at that point pretty
much doing the same thing but that is not with-in the scope of this change.

Currently the componet is expected to be used with an auth provider that
supports groups which is why it does not also create the group. This should be
taken into consideration if we ever update this to work with local groups.

Translations changes.

formatting

wip

Add tab nav template only component

rename users index route -> users & add groups route

get groups from grb list and build groupPrincipal list

Add role binding to the fetched group principal

Add account-group-row component and define table row views

global role binding with group edit page

Fix transitionTo in cancel and doneSaving -> cru-group-account

translations

Add initialPrincipal param to input-identity to allow use on edit

reduce duplicate principal calls and display on groups list page

fix role links types from account-group-row

add group delete functionality

translations and bulk action fix

sort global role names in modal and row

delete GRB modal translations

move users route to security-> users, break out groups route security

remove unneeded component

Live update fixes

translation fix

fix broken link to old accounts route

remove unneeded props, angle bracket components, general cleanup

lint fixes

Change add group button

Add warning on add group for non-local auth only and translations

Remove warning from delete group modal and change translations

re-org form-global-roles display

breaks the display out into base|user-custom|additional roles
adds back in details & descriptions
fixes role ids in translations file
2019-12-02 09:40:26 -07:00
loganhz 3c5d9029c3 Fix route error
https://github.com/rancher/rancher/issues/23370
2019-11-28 12:12:35 +08:00
Westly Wright 2b9897bce9
Merge pull request #3594 from westlywright/fp.aks.version.change
update aks default k8s version
2019-11-25 15:54:33 -07:00
Westly Wright 904985c540
udpate aks default k8s version
rancher/rancher#24239
2019-11-25 15:22:06 -07:00
Westly Wright 5ddbaba688
Merge pull request #3592 from westlywright/pv.name.change.24081
Rename some persistent volume names to match k8s names
2019-11-21 09:06:01 -07:00
Westly Wright 13d7f49133
Merge pull request #3590 from loganhz/text-master
Fix zh-hans issue
2019-11-21 09:05:24 -07:00
Westly Wright ae32ee3d41
Rename some persistent volume names to match k8s names
rancher/rancher#24081
2019-11-20 15:41:32 -07:00
loganhz 7041b26b48 Fix zh-hans issue 2019-11-20 13:04:07 +08:00
loganhz 3d5464beee Fix zh-hans issue 2019-11-20 10:38:09 +08:00
Westly Wright 4288758d6b
Merge pull request #3589 from westlywright/bulk.action.button.alignment
Ensure bulk actions buttons are always on same line
2019-11-19 10:03:47 -07:00
Westly Wright ed6f83375d
Merge pull request #3588 from westlywright/feature.global.role.create.edit
Global Roles
2019-11-19 10:03:34 -07:00
Westly Wright 4893e00425
Ensure bulk actions buttons are always on same line
rancher/rancher#23784
2019-11-18 15:41:50 -07:00
Westly Wright d0a9c4179f
Fix recompute bug 2019-11-18 12:35:23 -07:00
Westly Wright 7f5debb985
Allow clone of global roles 2019-11-18 12:11:01 -07:00
Westly Wright 1ac41a98ce
Allow users to create global roles
rancher/rancher#23453
2019-11-18 10:45:14 -07:00
Westly Wright e571293ca1
Merge pull request #3585 from loganhz/text-master
[Forwardport] Fix zh-hans issue
2019-11-15 09:46:23 -07:00
Westly Wright 1feaf4c1b5
Merge pull request #3584 from westlywright/mc.app.display.issues
Mc.app.display.issues
2019-11-15 09:44:13 -07:00
loganhz 08e9e675a0 Fix zh-hans issue 2019-11-15 09:17:41 +08:00
Westly Wright 5062e53a45
Fix borked jQuery targeting in input-password 2019-11-14 11:05:56 -07:00
Westly Wright 6656c6601d
Setup observed property on init rather than default to object @ boot
`templateChanged` which loads the content of what we need for a MC app was
updated to watch a new property, `editable: { selectedTemplateUrl } `. The new
property was declared on the component as a object. Observers watching a static
object and that have never been fetched do not recompute. If we set the property
on init to the object it would have been declared with then additional sets on
the watched property cause the observer to recompute.

rancher/rancher#24057
2019-11-14 10:55:44 -07:00
Westly Wright 3d4b81e2d6
Merge pull request #3577 from hubert-he/master
fix ui error message never pop up
2019-11-14 09:51:38 -07:00
Westly Wright 4768ca9155
Merge pull request #3583 from codyrancher/vsphere-creation-type
[forwardport] Change the messaging and default creationtype
2019-11-14 09:43:08 -07:00
Cody Jackson b93e895d78 Change the messaging and default creationtype
The backend was setting the default to legacy so that the legacy
template would still work when users migrate to the latest
version of the driver. This was causing the default value to
be legacy when creating a new vsphere template. Forcing
the backend to change the default will likely lead to problems
with the migration so we're making the change on the front end.

Ultimately we use the existing set default logic if a vsphere template
is being created (as opposed to edited) instead of just when the
creation type doesn't exist or is invalid.

We also changed the text for the legacy value to be friendlier.

rancher/rancher#24060
2019-11-13 16:15:01 -07:00
Westly Wright 87cd611652
Merge pull request #3513 from westlywright/fp.cr8.template.from.cluster
[Forwardport] Convert Existing Cluster to RKE Cluster Template
2019-11-13 15:25:36 -07:00
Westly Wright 9cd1ef2513
Merge pull request #3581 from westlywright/fp.xip.hostname.overwrite
[forwardport] pass answers to validation method for catalog apps
2019-11-13 15:23:59 -07:00
Westly Wright aa2188d8ac
pass answers to validation method for catalog apps
rancher/rancher#24084
2019-11-13 15:06:57 -07:00
Westly Wright 0ae6d57d9f
Merge pull request #3579 from westlywright/fp.xip.hostname.overwrite
[forwardport] when upgrading mc app ensure we are using a fresh copy of mc app
2019-11-13 13:14:42 -07:00
Westly Wright 62ef5bc39d
when upgrading mc app ensure we are using a fresh copy of mc app
rancher/rancher#24057
2019-11-13 13:08:03 -07:00
zhenhua he 106de7be6b Merge branch 'master' of github.com:hubert-he/ui 2019-11-13 14:47:17 +08:00
zhenhua he 3961b39020 error message never pop up when add user in global member page 2019-11-13 14:29:54 +08:00
Westly Wright 436e8eebf0
Merge pull request #3576 from westlywright/fp.xip.hostname.overwrite
[Forwardport] Fix MC App Answer Validation
2019-11-12 16:37:14 -07:00
Westly Wright 8c9789f82f
check answers required fields for mc app
rancher/rancher#24057
2019-11-12 16:25:14 -07:00
Westly Wright a4a2241bdb
Merge pull request #3574 from codyrancher/select-arrow-focus
[forwardport]Show arrow on select:focus
2019-11-11 15:57:55 -07:00
Cody Jackson e8071c2268 Show arrow on select:focus
Make the arrow visible for select components when the component is
focused.

rancher/rancher#23987
2019-11-11 15:42:49 -07:00
Westly Wright dffb92ca5c
Merge pull request #3572 from westlywright/store.update.counts.not.updating
[Forwardport] Fix node/pod counts that were not updating correctly
2019-11-11 14:37:45 -07:00
Westly Wright 01df2b7f61
Fix node/pod counts that were not updating correctly
rancher/rancher#23866
rancher/rancher#24034
2019-11-11 14:24:19 -07:00
Westly Wright d7096f4e08
Merge pull request #3567 from codyrancher/datastore-cluster
Add datastore cluster as an option for vsphere
2019-11-11 11:47:17 -07:00