Skip to content
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#173
safchain wants to merge 5 commits intomikelbring:developfrom
safchain:develop

Conversation

@safchain
Copy link
Copy Markdown

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

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.
@simondotwhite
Copy link
Copy Markdown

Would be awesome if you could let non-logged in/public users submit a ticket/issue (and comment) to public projects.

@safchain
Copy link
Copy Markdown
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.

@mtangoo
Copy link
Copy Markdown

mtangoo commented Mar 7, 2014

@safchain I tested your dev branch I found issues:

  1. private column is not created during install so I added it
  2. Even if I untick project (thereby marking it public), when I log out am forced to login page and I do not see my public issues
    Is this how its supposed to work?

@safchain safchain closed this Jul 4, 2015
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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants