-
Notifications
You must be signed in to change notification settings - Fork 4
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
removed quickposts and changed app routes #889
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## staging #889 +/- ##
===========================================
+ Coverage 13.39% 13.79% +0.39%
===========================================
Files 455 450 -5
Lines 3180 3067 -113
===========================================
- Hits 426 423 -3
+ Misses 2754 2644 -110 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hold up, we need to provide canAccess
on AuthenticatedRoutes. Did you test the pages you changed the route classes for?
I checked a couple of pages, I did not do I did every single one because the changes were the same between pages. |
the pages did break; without canAccess the AuthenticatedRoute does not want to function properly. Let's look at
These are two different concepts. I think that we may benefit from separating these responsibilities, because there are definitely cases where we can use a logged-in check but do not need a permissions check.
EDIT: |
In the meantime I'll add a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lodewiges did you also open a related PR on amber-api? I don't think it makes sense to keep the models and endpoints when all the frontend is gone |
no not yet i first wanted the frontend to be gone before doing that. |
Solves #890 and #886
remove all files regarding quick posts and changed some application routes to authentication routes because the should only be accessible when logged in.