Home | Forums

Subversion fisheye.access

The fisheye.access property allows an administrator/commiter 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 does not exist or does not match with that configured in FishEye, FishEye will immediately disconnect from the repository.

Note
By default, FishEye will have access to your repository.

Setting fisheye:allow

FishEye can operate in one of three accessibility modes:

Mode Accessibility 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.

Access Code

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" .

Deny - deny 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" .