3209c863b8
chore: authz 'any_org' to return if at least 1 org has perms ( #14009 )
...
* chore: authz 'any_org' to return if at least 1 org has perms
Allows checking if a user can do an action in any organization,
rather than a specific one. Allows asking general questions on the
UI to determine which elements to show.
* more strict, add comments to policy
* add unit tests and extend to /authcheck api
* make field optional
2024-07-29 19:58:48 -05:00
6161d173d3
feat: add tags to provisioner keys api ( #13989 )
2024-07-25 15:20:45 +00:00
4f01372179
feat: implement disabling oidc issuer checks ( #13991 )
...
* use DANGEROUS prefix and drop a warning log
2024-07-24 16:45:47 -05:00
38b573857b
feat(site): edit organization member roles ( #13977 )
2024-07-24 11:36:45 -06:00
a8e6e89f65
feat: add organization details to audit log response ( #13961 )
...
* Allow creating test audits with nil org
Not all audit entries have organization IDs, so this will allow us to
test those cases.
* Add organization details to audit log queries
* Add organization to audit log response
This replaces the old ID. This is a breaking change but organizations
were not being used before.
2024-07-22 13:28:44 -08:00
943ea7c52a
feat: add SMTP auth & TLS support ( #13902 )
2024-07-19 09:22:15 +02:00
aa6e6e3d58
chore: implement fetch all organizations endpoint ( #13941 )
...
* chore: implement fetch all organizations endpoint
* update ui to use list all orgs
2024-07-18 17:28:36 -05:00
44924cd8d8
chore: add updated_at to codersdk users ( #13928 )
...
* chore: add updated_at to codersdk users
2024-07-17 17:59:42 -05:00
a3f40d5ef8
feat: add members settings page for organizations ( #13817 )
2024-07-16 12:25:36 -06:00
b697c6939a
chore: add provisioner key crud apis ( #13857 )
2024-07-16 13:27:12 -04:00
c6b7588933
chore: add organization id to provisioner sdk type ( #13883 )
...
* chore: add organization id to provisioner sdk type
2024-07-12 10:56:34 -05:00
de2585b0b6
chore: use rw.WriteHeader
to write responses without bodies ( #13870 )
2024-07-11 13:38:33 -06:00
7bb3e0db4a
chore: return organization's display name and icon in templates ( #13858 )
...
* chore: templates return organization display name and icon
* templates api response includes organization display name and icon
2024-07-10 10:06:49 -05:00
bf392ffea4
feat: add killswitch for notifications ( #13794 )
2024-07-10 16:15:06 +02:00
bdd2caf95d
feat: implement thin vertical slice of system-generated notifications ( #13537 )
2024-07-08 15:38:50 +02:00
bde9fd58ea
chore: add organization name to workspaces ( #13755 )
...
* chore: add organization name to workspaces
2024-07-02 09:25:05 -05:00
128674918b
chore: include organization name when fetching templates ( #13751 )
...
* chore: include organization name when fetching templates
* chore: rename template_with_user to template_with_names
2024-07-02 09:08:30 -05:00
30c4b4db5c
chore: implement fetch all authorized templates api ( #13678 )
2024-06-26 11:50:32 -06:00
08e728bcb2
chore: implement organization scoped audit log requests ( #13663 )
...
* chore: add organization_id filter to audit logs
* chore: implement organization scoped audit log requests
2024-06-26 12:38:46 -05:00
8a3592582b
feat: add "Full Name" field to user creation ( #13659 )
...
Adds the ability to specify "Full Name" (a.k.a. Name) when
creating users either via CLI or UI.
2024-06-26 09:00:42 +01:00
54e8f30002
chore: remove failing_sections
from healthcheck ( #13426 )
...
Closes #10854 .
2024-06-21 14:49:02 -04:00
0793a4b35b
feat: add cross-origin reporting for telemetry in the dashboard ( #13612 )
...
* feat: add cross-origin reporting for telemetry in the dashboard
* Respect the telemetry flag
* Fix embedded metadata
* Fix compilation error
* Fix linting
2024-06-20 15:19:45 -04:00
a1db6d809e
chore: implement delete organization member ( #13589 )
...
Side effects of removing an organization member will orphan their
user resources. These side effects are not addressed here
2024-06-20 10:06:37 -05:00
8e06ad46d0
chore: add organization member api + cli ( #13577 )
2024-06-20 09:19:24 -05:00
e987ad1d89
fix: don't allow "new" or "create" as url-friendly names ( #13596 )
2024-06-18 15:36:13 -06:00
3a1fa04590
fix: write server config to telemetry ( #13590 )
...
* fix: add external auth configs to telemetry
* Refactor telemetry to send the entire config
* gen
* Fix linting
2024-06-18 16:20:21 -04:00
44d69139d5
chore: accept payload on workspace usage route ( #13544 )
2024-06-14 10:08:45 -04:00
bbe23edc7d
chore: implement api layer for listing organization members ( #13546 )
2024-06-12 09:52:18 -10:00
28228f1bcb
feat: allow editing org icon ( #13547 )
2024-06-12 12:28:13 -06:00
dd243686e4
chore!: remove deprecated agent v1 routes ( #13486 )
2024-06-11 12:22:59 +10:00
0d65143301
chore: implement audit log for custom role edits ( #13494 )
...
* chore: implement audit log for custom role edits
2024-06-07 14:11:57 -05:00
44a70a5bc2
feat: edit org display names and descriptions ( #13474 )
2024-06-06 10:59:59 -06:00
1131772e79
feat(coderd): set full name from IDP name claim ( #13468 )
...
* Updates OIDC and GitHub OAuth login to fetch set name from relevant claim fields
* Adds CODER_OIDC_NAME_FIELD as configurable source of user name claim
* Adds httpapi function to normalize a username such that it will pass validation
* Adds firstName / lastName fields to dev OIDC setup
2024-06-06 13:37:08 +01:00
8f62311f00
chore: remove organization_id suffix from org_member roles in database ( #13473 )
...
Organization member's table is already scoped to an organization.
Rolename should avoid having the org_id appended.
Wipes all existing organization role assignments, which should not be used anyway.
2024-06-05 11:25:02 -05:00
9d00a26a90
fix: add missing route for codersdk.PostLogSource
( #13421 )
2024-06-03 12:29:50 -05:00
bf98b0dfe4
fix: correct swagger description for Insights API ( #13442 )
2024-06-03 15:48:31 +02:00
b248f125e1
chore: rename notification banners to announcement banners ( #13419 )
2024-05-31 10:59:28 -06:00
afd9d3b35f
feat: add api for patching custom org roles ( #13357 )
...
* chore: implement patching custom organization roles
2024-05-29 09:49:43 -05:00
1b4ca00428
chore: include custom roles in list org roles ( #13336 )
...
* chore: include custom roles in list org roles
* move cli show roles to org scope
2024-05-23 07:54:59 -10:00
b43344b672
feat: use latest gVisor and go 1.22.3 ( #13338 )
2024-05-23 08:22:44 -04:00
3f1e9c038a
feat(coderd): add endpoints for editing and deleting organizations ( #13287 )
2024-05-21 12:46:31 -06:00
c61b64be61
feat: add hidden enterprise cmd command to list roles ( #13303 )
...
* feat: add hidden enterprise cmd command to list roles
This includes custom roles, and has a json ouput option for
more granular permissions
2024-05-21 13:14:00 -05:00
ad8c314130
chore: implement api for creating custom roles ( #13298 )
...
api endpoint (gated by experiment) to create custom_roles
2024-05-16 13:47:47 -05:00
a0fce363cd
feat(coderd): add times_used
to coder_app
s in insights API ( #13292 )
...
For now, only applied to `coder_app`s, same logic can be implemented for
VS Code, SSH, etc.
Part of #13099
2024-05-16 16:53:01 +03:00
1f5788feff
chore: remove rbac psuedo resources, add custom verbs ( #13276 )
...
Removes our pseudo rbac resources like `WorkspaceApplicationConnect` in favor of additional verbs like `ssh`. This is to make more intuitive permissions for building custom roles.
The source of truth is now `policy.go`
2024-05-15 11:09:42 -05:00
9ced001570
chore: add multi-org experiment for UI view toggling ( #13260 )
...
* chore: Add multi-org experiment
UI will use to toggle different views
2024-05-13 13:46:01 -05:00
d8e0be6ee6
feat: add support for multiple banners ( #13081 )
2024-05-08 15:40:43 -06:00
94a3e3a563
chore: allow terraform & echo built-in provisioners ( #13121 )
...
* chore: allow terraform & echo built-in provisioners
Built-in provisioners serve all specified types. This allows running terraform, echo, or both in built in.
The cli flag to control the types is hidden by default, to be used primarily for testing purposes.
2024-05-03 10:14:26 -05:00
c550d0641d
feat: move shared ports out of experiment ( #13120 )
2024-05-02 14:11:33 -04:00
1bda8a0856
feat: add deployment_id
to the ui and licenses ( #13096 )
...
* feat: expose `deployment_id` in the user dropdown
* feat: add license deployment_id verification
* Ignore wireguard.com from mlc config
2024-04-29 16:50:11 -04:00