SVN fisheye.access

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

The fisheye.access property allows an administrator/committer to control Fisheye access to a directory in the repository. Fisheye queries this property to decide whether it will continue to access the repository. If the property exists, but does not match that configured in Fisheye, Fisheye will immediately disconnect from the repository.

By default, Fisheye will have access to your repository and you do not need to configure this access mode. It is only necessary if you identify a need to restrict Fisheye access to your repository (this is generally not required).

Setting Fisheye Access Mode

Fisheye can operate in one of three access modes:

Mode

Access

Subversion repository property: fisheye.access

Allow

Any Fisheye server

'allow' or no property set

Access Code

Only Fisheye servers configured with the correct Access Code

e.g. 'md5:dc0c08df1f3e80b599c90f53d7dd05ec'

Deny

No Fisheye server

'deny'

If you would like to restrict Fisheye access to your repository, you must set the fisheye.access property. This property must be set on the 'URL + path' you have configured in Fisheye.

Setting an Access Code

The repository must be configured with the MD5 sum of the Access Code that is configured in Fisheye. The MD5 sum and even the svn command to set the property will be generated for you by Fisheye when you configure the repository using the Fisheye Administration page. See Subversion repository details.

For example, if you have configured Fisheye with a URL of svn://foo.com/, a path of . and an Access Code of 'fisheye', then you would need to do something like this:


$ svn checkout -N svn://foo.com/ tmpworkspace
$ cd tmpworkspace
$ svn propset fisheye.access "md5:4d0c5db8382f80c58e7b0619ae5767a7" .
$ svn commit -m "grant fisheye access"
Denying Access to all Fisheye Instances

To deny all Fisheye instances access to the repository, it must be configured with the fisheye.access property of 'deny'.

For example, if you have configured Fisheye with a URL of svn://foo.com/ and a path of . (or you have left path empty), then you would need to do something like this:


$ svn checkout -N svn://foo.com/ tmpworkspace
$ cd tmpworkspace
$ svn propset fisheye.access "deny" .
$ svn commit -m "disable fisheye access"

If you configured a path of some/dir then use:


$ svn checkout -N svn://foo.com/some/dir tmpworkspace
$ cd tmpworkspace
$ svn propset fisheye.access "deny" .
$ svn commit -m "disable fisheye access"
Last modified on Oct 25, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.