It's a good idea to make sure your source code can only be used by people who have
business with it.
You can control which users can view or commit source code. You can make these
distinctions at the repository level or at the path level within a repository.
-
Click PROJECT ADMIN in the project navigation bar.
-
On the Project Settings page, click
Permissions.
-
Click the role whose access to source code you want to control.
Tip: If the appropriate role does not exist, you must create it
first. See
Create a role.
-
On the Edit Role page, click Source
Code.
-
Under
Permissions
for Specific
Repositories,
select a repository in the project and specify this role's access to the
repository as a whole.
- To block users with this role from seeing this repository at all, select
No Access.
- To allow users with this role to see everything in the repository but
not commit to it, select View Only.
- To allow users with this role to commit to any path in the repository,
select View and Commit.
-
If you want to control access to a specific path within the repository for
users with this role, select Path-based
Permissions.
See Who can
access source code? and Wildcard-based access control and
path-based permissions in TeamForge for more
information.
-
Click Add.
-
Specify a path in the repository.
Tip: The path does not have to exist when you specify it.
You can set a permission for a path that may be created
later.
-
Select No Access, View
Only, or View and Commit for this
path.
-
Click Save.