-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Only show own repositories on the index page for teachers #4380
Conversation
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.
I slightly prefer having a _html
empty message with a <br>
instead of the current solution with a \n
and changing the css behaviour.
Also, I think technically oefeningenrepository's should be one word. Because you're allowed to add a dash to improve readability, I would make it oefeningen-repository's. But I'll let @niknetniko decide.
Co-authored-by: Niko Strijbol <strijbol.niko@gmail.com>
This pull request limits the repository index page to own repositories for non zeus users.
It is only limited on the index page, and not in the policy, as teachers are allowed to see the list of all repositories on other pages. (Eg as filter dropdown to search for exercises)
I also added an empty state to the repository page as this is now relevant.
part of #4362