gitit
gitit copied to clipboard
Feature/private pages
We are using Gitit at the Student Division for Computer Science and Engineering at Chalmers Uni.
We implemented private pages for our own wiki and thought that we should push it upstreams. Feedback is appreciated!
Oops, this is not working correctly
Now it works more as it should.
(Previous commit did not allow logged in users to view the private pages, somehow I did not test that part..)
Can you say more about what "private pages" are? Could it be documented in the manual?
Oh, of course!
In our organization we have some pages that are public and that everyone can see, but for some pages we want to only let logged in members view them. This is what private pages aims to enable. I added a field in the config in which one can specify with regex which pages will be private, i.e that only logged in members can view the pages (otherwise they will be redirected to the login page).
If by manual you mean the readme I could of course write some documentation there as well! I did not think about it before.
May I ask, if there is any reason for not integrating this patch? I find it useful and use it. I may write some documentation if that is what is missing.
I think it probably is because I never got around to write any documentation for it... Life happened and now our organization changed wiki-engine, so we're no longer using this patch ourselves.
I'm glad to hear that you find the patch helpful! Feel free to write the missing documentation if you want, you probably know the existing documentation and the added feature better than I do anyway :smile: