Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Team permissions by workspace #1676

Merged
merged 26 commits into from
Jan 13, 2025
Merged

feat: Team permissions by workspace #1676

merged 26 commits into from
Jan 13, 2025

Conversation

alfespa17
Copy link
Member

@alfespa17 alfespa17 commented Jan 2, 2025

This will allow to set permission at workspace level instead of organization level

For example when login with user "limited@example.org" in organization "simple" it will only show one workspace

image

When login with a different user in the same org it will show all the available workspaces

image

There is a new elide endpoint created to manage the workspace level access that support the get,post,delete,patch operations.

/api/v1/organization/${organizationid}/workspace/${workspaceId}/access/${accessId}

Workspace level can have the following permissions:

  • manageJob
  • manageState
  • manageWorkspace

Fix #1498

@alfespa17 alfespa17 changed the title feat: Workspace Access Permission feat: Team permissions by workspace Jan 2, 2025
@alfespa17 alfespa17 merged commit 45dd77e into main Jan 13, 2025
4 of 5 checks passed
@alfespa17 alfespa17 deleted the feat/workspace-access branch January 13, 2025 23:17
@BenjaminDecreusefond
Copy link
Contributor

Hi @alfespa17 !

I think this PR is missing the management of permission from UI right ?

@alfespa17
Copy link
Member Author

Hi @alfespa17 !

I think this PR is missing the management of permission from UI right ?

That is correct, for now you can only use it using the Api or terraform provider.

stanleyz pushed a commit to stanleyz/terrakube that referenced this pull request Mar 11, 2025
* feat: Team permissions by workspace
stanleyz pushed a commit to stanleyz/terrakube that referenced this pull request Mar 11, 2025
* feat: Team permissions by workspace
alfespa17 added a commit that referenced this pull request Mar 14, 2025
…thub pull request (#1878)

* feat: refactor ways to configure webhook

* deps: bump antd from 5.22.2 to 5.22.3 in /ui (#1589)

Bumps [antd](https://github.com/ant-design/ant-design) from 5.22.2 to 5.22.3.
- [Release notes](https://github.com/ant-design/ant-design/releases)
- [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md)
- [Commits](ant-design/ant-design@5.22.2...5.22.3)

---
updated-dependencies:
- dependency-name: antd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: Replace SiMicrosoftazure reference using VscAzure in react-icons 5.4.0 (#1637)

* feat: Team permissions by workspace (#1676)

* feat: Team permissions by workspace

* fix: Rename script for version 2.25.0 (#1706)

* feat: refactor ways to configure webhook

Co-authored-by: Benjamin Decreusefond <benjamin.decreusefond@weezevent.com>
Co-authored-by: Stanley Zhang <stanley.zhang@ityin.net>

* fix some errors

* update filename reference of the webhook files

* remove uncessary stuff

* Add mssql to migration list

And remove webhook creation from workspace creation process.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Benjamin Decreusefond <benjamin.decreusefond@weezevent.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo España <alfespa17@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Team permissions by workspace
2 participants