[viewvc-users] Integration of svn authz file
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <95F9275A5D8D1747939A84E03937148F470C4CC26E__15563.2862974473$1294250610$gmane$org@MSGCMSV21043.ent.wfb.bank.corp> |
I'm new to viewvc, and am working off of a preconfigured installation that was here before I started. The guy who configured it is gone. I've recently added an svnauthz file to the svn configuration, which works perfectly. I'm trying to now configure ViewVC to use that svnauthz file, but am running into problems. I'm sure the problem is I just don't understand what I'm doing! :) So this is the viewvc.conf file in /etc/viewvc/: [general] root_parents = /svn : svn default_root = the_repository use_rcsparse = 0 address = <a href="mailto:[email protected]">Mail to admin</a> forbidden = forbiddenre = kv_files = languages = en-us [options] root_as_url_component = 0 default_file_view = log checkout_magic = 0 http_expiration_time = 600 generate_etags = 1 sort_by = file sort_group_dirs = 1 hide_attic = 1 log_sort = date diff_format = h hide_cvsroot = 1 hr_breakable = 1 hr_funout = 0 hr_ignore_white = 1 hr_ignore_keyword_subst = 1 hr_intraline = 0 allow_tar = 0 allow_annotate = 1 allow_markup = 1 allow_compress = 1 template_dir = /usr/local/viewvc/templates docroot = /viewvc-static show_subdir_lastmod = 0 show_logs = 1 show_log_in_markup = 1 cross_copies = 1 use_localtime = 0 py2html_path = . short_log_len = 80 use_enscript = 0 enscript_path = use_highlight = 0 highlight_line_numbers = 1 highlight_convert_tabs = 2 use_php = 0 php_exe_path = php use_cvsgraph = 0 cvsgraph_path = cvsgraph_conf = /etc/viewvc/cvsgraph.conf use_re_search = 0 use_pagesize = 0 limit_changes = 100 [templates] directory = /usr/local/viewvc-1.0.7/templates/directory.ezt [cvsdb] enabled = 0 [vhosts] Again, this configuration works just fine, in that, everyone can view and browse using ViewVC unrestricted. From my reading of whatever I could get ahold of using google, I've added the following lines: To the [options] section: authorizer = svnauthz and then: [authz-svnauthz] authzfile = /path/to/svnauthz_file After I add those lines, it still doesn't use the authz file. Users are able to fully browse the entire repo regardless of the restrictions. Obviously I'm missing something, any thoughts? Benjamin Ortega ---------------------------------------------- ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2696130 To unsubscribe from this discussion, e-mail: [[email protected]].