This repository was archived by the owner on May 9, 2021. It is now read-only.
Set a project as private or not#173
Closed
safchain wants to merge 5 commits intomikelbring:developfrom
safchain:develop
Closed
Set a project as private or not#173safchain wants to merge 5 commits intomikelbring:developfrom safchain:develop
safchain wants to merge 5 commits intomikelbring:developfrom
safchain:develop
Conversation
Add private attribute for users and projects. Show non private projects and users when not logged.
Add private attribute for users and projects. Show non private projects and users when not logged.
Private user associated with an issue will be displayed as anonymous. Add a sign-in button and redirect comment button to the login view when trying a comment as non logged.
|
Would be awesome if you could let non-logged in/public users submit a ticket/issue (and comment) to public projects. |
Author
|
I thought add Oauth authentication feature (github, google, linkedin, etc), however I could add an attribute to set whether a project accepts reporting from non-logged user or not. |
|
@safchain I tested your dev branch I found issues:
|
satrun77
added a commit
to satrun77/tinyissue
that referenced
this pull request
Jan 7, 2016
satrun77
added a commit
to satrun77/tinyissue
that referenced
this pull request
Jan 8, 2016
satrun77
added a commit
to satrun77/tinyissue
that referenced
this pull request
Jan 8, 2016
satrun77
added a commit
to satrun77/tinyissue
that referenced
this pull request
Jan 9, 2016
satrun77
added a commit
to satrun77/tinyissue
that referenced
this pull request
Jan 9, 2016
satrun77
added a commit
to satrun77/tinyissue
that referenced
this pull request
Jan 10, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
Since I would like to use it for public project, I added the possibility to set projects as private or not, thus a non logged user will be able to see the project and its issues through /index.php/projects.
However a user still have to be logged to create new issue or something else that modify the project.
I also added a private attribute for User in order to show or not the identity of the user. If the user is set to private all his activities will appear as anonymous.
By default projects and users are set to private, thus the original behavior is unchanged.
Cheers