Skip to content

New user-created (personal) repositories not visible to other users through the web interface #482

Description

@gitblit

Originally reported on Google Code with ID 186

What steps will reproduce the problem?
1. Create at least two users with at least one (user X) having the ability to create
repositories.
2. Log out from the admin account and login as user X.
3. On another machine login as user Y.
4. From the account logged in as user X create a new repository (repository R), giving
user Y proper permissions (e.g. RW+) so they can view the repository through the web
interface.
5. Refresh user Y's web browser.

What is the expected output? What do you see instead?
Expected: A list of repositories containing R.
Actual: R is not included in the repositories list. R is accessible through git (clone
and push). If user Y logs out and logs in again R is visible.

What version of the product are you using? On what operating system?
Operating system: Ubuntu 12.04
Java version: 1.6.0_24 (OpenJDK)
Version: Gitblit v1.2.1-SNAPSHOT
Built with: ant buildGO
After building was done I copied the deploy/ directory to ~/temp and started the server
with: java -jar gitblit.jar

Please provide any additional information below.
The issue might have to do with the UserModel object stored by the session, since in
another instance for some custom functionality I was trying out (which would not make
sense for general use) I was facing the same problem and solved it by re-assigning
the updated UserModel object to the respective session member.

Reported by cyberpython on 2013-01-12 13:15:39

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions