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

restored role-check before hint to create mupro #283

Conversation

wolfgangroese
Copy link
Member

not checking the users role caused error "forbidden" when user is admin-role only as musician profile (meService) can only get by performer.

@wolfgangroese wolfgangroese force-pushed the bug/ARPA-955-put-back-role-condition-in-dashboard-mupro-create-hint branch from 4891050 to 29d4e45 Compare December 6, 2023 20:10
wolfgangroese and others added 3 commits December 10, 2023 17:45
The dashboard initialization code has been refactored for better readability and maintainability. The RxJS operator 'switchMap' has been added to handle async code more efficiently within the 'checkIfUserHasMusicianProfile' method. Additionally, the method 'ngOnInit()' has been cleaned up by extracting its logic into separate, newly created methods.
Significant updates were made to improve the clarity and detail of documentation within the DashboardComponent file. Notably, descriptions were added to CardLayout interface, ArpaWidgetConfigDirective, and WidgetStateService classes. In addition, annotation for the directive and its usage was provided, and a more comprehensive explanation was attached to the DashboardComponent.
@wolfgangroese wolfgangroese force-pushed the bug/ARPA-955-put-back-role-condition-in-dashboard-mupro-create-hint branch from 61cdbea to 8c57497 Compare December 10, 2023 16:45
@wolfgangroese wolfgangroese merged commit bd6c95a into develop Dec 10, 2023
4 checks passed
@wolfgangroese wolfgangroese deleted the bug/ARPA-955-put-back-role-condition-in-dashboard-mupro-create-hint branch December 10, 2023 18:16
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.

2 participants