Skip to content

Conversation

@nevio18324
Copy link
Collaborator

No description provided.

@nevio18324 nevio18324 changed the title implement a first version of cancancan feature/946 Setup cancancan Jul 10, 2025
@nevio18324 nevio18324 linked an issue Jul 14, 2025 that may be closed by this pull request
3 tasks
@nevio18324
Copy link
Collaborator Author

Stand 14.7

I think it now has a pretty good setup and we can start doing tickets like #947, #948 and #949

@nevio18324 nevio18324 closed this Jul 14, 2025
@nevio18324 nevio18324 reopened this Jul 14, 2025
@nevio18324 nevio18324 marked this pull request as ready for review July 14, 2025 11:14
@nevio18324 nevio18324 requested a review from ManuelMoeri July 14, 2025 11:14
@nevio18324 nevio18324 force-pushed the feature/946-setup-cancancan branch from 4699d7b to 7bd4607 Compare July 22, 2025 11:42
@nevio18324 nevio18324 requested a review from Robin481 as a code owner July 22, 2025 11:42
@nevio18324 nevio18324 removed the request for review from Robin481 July 22, 2025 11:49
Copy link
Collaborator

@ManuelMoeri ManuelMoeri 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. Only found two small things.

@ManuelMoeri ManuelMoeri removed their assignment Jul 22, 2025
@nevio18324 nevio18324 requested a review from Robin481 July 22, 2025 13:35
@nevio18324 nevio18324 assigned Robin481 and unassigned nevio18324 Jul 22, 2025
@ManuelMoeri ManuelMoeri force-pushed the feature/946-setup-cancancan branch from 387c0e8 to 0532487 Compare July 24, 2025 12:39
@ManuelMoeri ManuelMoeri assigned Robin481 and unassigned nevio18324 Jul 29, 2025
@ManuelMoeri ManuelMoeri force-pushed the feature/946-setup-cancancan branch from 0532487 to 83da19f Compare July 29, 2025 11:33
@nevio18324 nevio18324 force-pushed the feature/946-setup-cancancan branch from e17dbd2 to 48ebd8e Compare February 10, 2026 10:42
Copy link
Member

@Robin481 Robin481 left a comment

Choose a reason for hiding this comment

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

Looking quite good.
One thing I've noticed is that deletion of inactive profiles via the admin interface does not validate if a person is allowed to do this or not.
Since we don't use the standard CrudController method here:


This method could probably call super and then do our custom logic and it would work as expected.
Can you please have a look at this special case and also comb through the code if you find other places where we don't use the default methods?

@Robin481 Robin481 removed their assignment Feb 12, 2026
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.

Access control: Setup CanCanCan and re-implement already existing roles

3 participants