open-nomad/nomad/structs
Phil Renaud bfba4f5e13
[ui] ACL Roles in the UI, plus Role, Policy and Token management (#17770) (#18599)
* Rename pages to include roles

* Models and adapters

* [ui] Any policy checks in the UI now check for roles' policies as well as token policies (#18346)

* combinedPolicies as a concept

* Classic decorator on role adapter

* We added a new request for roles, so the test based on a specific order of requests got fickle fast

* Mirage roles cluster scaffolded

* Acceptance test for roles and policies on the login page

* Update mirage mock for nodes fetch to account for role policies / empty token.policies

* Roles-derived policies checks

* [ui] Access Control with Roles and Tokens (#18413)

* top level policies routes moved into access control

* A few more routes and name cleanup

* Delog and test fixes to account for new url prefix and document titles

* Overview page

* Tokens and Roles routes

* Tokens helios table

* Add a role

* Hacky role page and deletion

* New policy keyboard shortcut and roles breadcrumb nav

* If you leave New Role but havent made any changes, remove the newly-created record from store

* Roles index list and general role route crud

* Roles index actually links to roles now

* Helios button styles for new roles and policies

* Handle when you try to create a new role without having any policies

* Token editing generally

* Create Token functionality

* Cant delete self-token but management token editing and deleting is fine

* Upgrading helios caused codemirror to explode, shimmed

* Policies table fix

* without bang-element condition, modifier would refire over and over

* Token TTL or Time setting

* time will take you on

* Mirage hooks for create and list roles

* Ensure policy names only use allow characters in mirage mocks

* Mirage mocked roles and policies in the default cluster

* log and lintfix

* chromedriver to 2.1.2

* unused unit tests removed

* Nice profile dropdown

* With the HDS accordion, rename our internal component scss ref

* design revisions after discussion

* Tooltip on deleted-policy tokens

* Two-step button peripheral isDeleting gcode removed

* Never to null on token save

* copywrite headers added and empty routefiles removed

* acceptance test fixes for policies endpoint

* Route for updating a token

* Policies testfixes

* Ember on-click-outside modifier upgraded with general ember-modifier upgrade

* Test adjustments to account for new profile header dropdown

* Test adjustments for tokens via policy pages

* Removed an unused route

* Access Control index page tests

* a11y tests

* Tokens index acceptance tests generally

* Lintfix

* Token edit page tests

* Token editing tests

* New token expiration tests

* Roles Index tests

* Role editing policies tests

* A complete set of Access Control Roles tests

* Policies test

* Be more specific about which row to check for expiration time

* Nil check on expirationTime equality

* Management tokens shouldnt show No Roles/Policies, give them their own designation

* Route guard on selftoken, conditional columns, and afterModel at parent to prevent orphaned policies on tokens/roles from stopping a new save

* Policy unloading on delete and other todos plus autofocus conditionally re-enabled

* Invalid policies non-links now a concept for Roles index

* HDS style links to make job.variables.alert links look like links again

* Mirage finding looks weird so making model async in hash even though redundant

* Drop rsvp

* RSVP wasnt the problem, cached lookups were

* remove old todo comments

* de-log
2023-09-27 17:02:48 -04:00
..
config config: add configurable content security policy (#18085) 2023-08-14 14:25:21 -04:00
acl.go [ui] ACL Roles in the UI, plus Role, Policy and Token management (#17770) (#18599) 2023-09-27 17:02:48 -04:00
acl_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
autopilot.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
batch_future.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
batch_future_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
bitmap.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
bitmap_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
check_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
checks.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
connect.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
connect_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
consul.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
consul_oss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
consul_oss_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
consul_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
csi.go backport of commit 9b74e11f064ecc53a53f13e82419927b533a9e4a (#18589) 2023-09-26 15:23:35 -05:00
csi_test.go backport of commit 9b74e11f064ecc53a53f13e82419927b533a9e4a (#18589) 2023-09-26 15:23:35 -05:00
devices.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
devices_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
diff.go backport of commit f187afab9f06b7489f7103c3e3c8eed72f210621 (#18350) 2023-08-28 19:14:45 -04:00
diff_test.go backport of commit d923fc554d09ceb51b530467a354860b25114fd3 (#18450) 2023-09-11 16:21:44 +01:00
encoding.go Revert "hashicorp/go-msgpack v2 (#16810)" (#17047) 2023-05-01 17:18:34 -04:00
errors.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
errors_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
eval.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
event.go node pools: add event stream support (#17412) 2023-06-06 10:14:47 -04:00
extensions.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
funcs.go core: use faster concatenation for alloc name generation. (#17591) 2023-06-22 07:46:28 +01:00
funcs_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
generate.sh Revert "hashicorp/go-msgpack v2 (#16810)" (#17047) 2023-05-01 17:18:34 -04:00
handlers.go Revert "hashicorp/go-msgpack v2 (#16810)" (#17047) 2023-05-01 17:18:34 -04:00
job.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
keyring.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
network.go scheduler: tolerate having only one dynamic port available (#17619) 2023-06-20 13:29:25 -04:00
network_test.go scheduler: tolerate having only one dynamic port available (#17619) 2023-06-20 13:29:25 -04:00
node.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_class.go node pools: register a node in a node pool (#17405) 2023-06-02 17:50:50 -04:00
node_class_test.go node pools: register a node in a node pool (#17405) 2023-06-02 17:50:50 -04:00
node_pool.go backport of commit 7fe432042eaa0a97c0aaa40d302055eb18e8a9b0 (#18040) 2023-07-24 02:28:28 -05:00
node_pool_oss.go chore: fix typo and copyright header (#17605) 2023-06-20 10:09:47 -04:00
node_pool_oss_test.go chore: fix typo and copyright header (#17605) 2023-06-20 10:09:47 -04:00
node_pool_test.go node pools: apply node pool scheduler configuration (#17598) 2023-06-21 20:31:50 -04:00
node_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator.go node pools: apply node pool scheduler configuration (#17598) 2023-06-21 20:31:50 -04:00
operator_test.go node pools: apply node pool scheduler configuration (#17598) 2023-06-21 20:31:50 -04:00
search.go node pool: add search support (#17385) 2023-06-01 17:48:14 -04:00
service_identities.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_registration.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_registration_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
services.go backport of commit d923fc554d09ceb51b530467a354860b25114fd3 (#18450) 2023-09-11 16:21:44 +01:00
services_test.go backport of commit d923fc554d09ceb51b530467a354860b25114fd3 (#18450) 2023-09-11 16:21:44 +01:00
streaming_rpc.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
structs.go backport of commit 3e61b3a37df9ff0836b52ba5440106ad0f607dd7 (#18294) 2023-08-22 16:01:24 -04:00
structs_codegen.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
structs_oss.go node pools: namespace integration (#17562) 2023-06-16 16:30:22 -04:00
structs_oss_test.go node pools: namespace integration (#17562) 2023-06-16 16:30:22 -04:00
structs_periodic_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
structs_test.go Backport of feature: Add new field render_templates on restart block into release/1.6.x (#18094) 2023-07-28 13:54:00 -05:00
testing.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
uuid.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
variables.go variable: fixup metadata copy comment and remove unrequired type. (#17234) 2023-05-18 13:49:41 +01:00
variables_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
vault.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volumes.go CSI: persist previous mounts on client to restore during restart (#17840) 2023-07-10 13:20:15 -04:00
workload_id.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
workload_id_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00