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

Workspace/Publishing improvements #4726

Open
5 of 7 tasks
bwaidelich opened this issue Nov 10, 2023 · 0 comments
Open
5 of 7 tasks

Workspace/Publishing improvements #4726

bwaidelich opened this issue Nov 10, 2023 · 0 comments

Comments

@bwaidelich
Copy link
Member

bwaidelich commented Nov 10, 2023

Epic for issues related to the UX with workspace handling and publishing

@bwaidelich bwaidelich moved this to Prioritized 🔥 in Neos 9.0 Release Board Nov 10, 2023
bwaidelich added a commit that referenced this issue Jun 17, 2024
Introduces `WorkspacePublishingService` as replacement for the current Neos `Workspace` "active record" model.

Introduces `WorkspaceService` as central authority to manage Neos workspaces.

Related: #4726
bwaidelich added a commit that referenced this issue Aug 2, 2024
Extracted from #5146 this just improves stability of the `WorkspaceName` value object by
- Restricting the allowed value range to 30 lower case characters and properly enforce it
- Adding a `tryFromString()` constructor
- Exposing the `MAX_LENGTH` and use that for the corresponding database schemas
- 100% test coverage

Related: #4726
bwaidelich added a commit that referenced this issue Aug 2, 2024
Adds a `getContentRepositoryIds()` getter to the `ContentRepositoryRegistry` that allows to iterate over all configured content repositories.

This will be useful for enforcing ACL, cross-CR-linking, etc..

Related: #4726
bwaidelich added a commit that referenced this issue Oct 10, 2024
Adds behat tests that document the current behavior of `WorkspaceService::createPersonalWorkspaceForUserIfMissing()` and `WorkspaceService::getWorkspacePermissionsForUser()`

Related: #4726
bwaidelich added a commit that referenced this issue Oct 11, 2024
…e creation

With #5146 a basic workspace access control was implemented. With that, users won't have access to workspaces unless they have a role assigned.

This can be achieved via

```shell
./flow workspace:assignrole
```

This bugfix makes sure, that the default behavior (users with the role `Neos.Neos:LivePublisher` can collaborate on the `live` workspace) is automatically ensured when creating/importing a site.

Furthermore, the migration command has been fixed to add metadata & role assignments even if no workspace title was set:

```shell
./flow migrateevents:migrateWorkspaceMetadataToWorkspaceService
```

Related: #4726
bwaidelich added a commit that referenced this issue Oct 15, 2024
This change makes sure that metadata exists for the `live` workspace after running the `cr:import` command.
Furthermore it fixes the permission determiniation for administrators in case no metadata is specified for a workspace but the role assignment exists

Related: #4726
@mhsdesign mhsdesign moved this from Prioritized 🔥 to Done ✅ in Neos 9.0 Release Board Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants