Edgewall Software

Ticket #2458 (closed task: fixed)

Opened 3 years ago

Last modified 2 years ago

Document subversion repository restriction

Reported by: skv_lviv@… Owned by: cboos
Priority: normal Milestone: 0.10
Component: version control Version: 0.9
Severity: minor Keywords: documentation
Cc:

Description

Hello, Is there any way to restrict "Browse source" to show just some subdirectory from subversion repository?

Sincerely yours, Serhiy Kravtsov

Attachments

Change History

Changed 3 years ago by cboos

  • keywords documentation added
  • type changed from enhancement to task
  • severity changed from normal to minor
  • summary changed from Subversion repository restriction to Document subversion repository restriction

Yes, this has been implemented for 0.9.

You have to specify the subdirectory in the TracIni:

[trac]
repository_dir = /path/to/your/repository/scope/within/repos

This can be done while creating the Trac environment too. If you change that setting afterwards, you'll have to resync your repository using TracAdmin.

I agree that this information is not that apparent in the documentation (Wiki/FAQ, etc.)

Hence modifying the ticket for recording the documentation task.

Changed 3 years ago by cboos

  • owner changed from jonas to cboos
  • component changed from browser to version control
  • milestone set to 0.10

And repository_type should be documented as well.

Changed 3 years ago by anonymous

Is there any way to restrict browsing of the source code repository to the file level (i.e. resttricting viewing of certain files in the repos)?

Changed 3 years ago by eblot

anonoymous: you might be looking for FineGrainedPermissions

Changed 2 years ago by cboos

  • status changed from new to closed
  • resolution set to fixed

I did the documentation update in TracEnvironment and TracInstall

Add/Change #2458 (Document subversion repository restriction)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.