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

Enable deletion of languages and offer templates #1156

Merged
merged 4 commits into from
Feb 11, 2022

Conversation

timobrembeck
Copy link
Member

Short description

This PR contains a few small improvements and adds the possibility to delete languages and offer templates

Proposed changes

  • Hide organization field in page form if no organizations exist
  • Generalize deletion views
  • Add possibility to delete languages
  • Add possibility to delete offer templates

Resolved issues

Fixes: #1143
Fixes: #1151
Fixes: #1106

@timobrembeck timobrembeck requested a review from a team as a code owner February 10, 2022 02:58
Copy link
Member

@svenseeberg svenseeberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I have a change request or simply a stupid question ;-)

Copy link
Member

@ulliholtgrave ulliholtgrave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. @svenseeberg I guess it's fine if the superuser to have the permission to delete languages for now

@ulliholtgrave ulliholtgrave dismissed svenseeberg’s stale review February 11, 2022 10:29

I guess it's fine for now that only superuser can delete languages. I follow timo's approach that we could redo the permissions in a future refactoring, but for the migration this should be fine :)

@timobrembeck timobrembeck merged commit 6cbd731 into develop Feb 11, 2022
@timobrembeck timobrembeck deleted the enhancement/deletions branch February 11, 2022 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants