alcohol lexapro buy prevacid phentermine buy levitra buy valtrex discount prescription card generic cialis cheap levitra glucophage buy cheap vigrx prevacid solutab prevacid side effects effects lexapro side cheap tramadol vicodin es lexapro withdrawal buy ephedra hydrocodone no prescription generic ambien tramadol cod soma hydrocodone clomid success tramadol cheap ephedra generic cialis buy fioricet online clomid success vicodin acyclovir side effects effects glucophage side klonopin side effects buy ephedra seeds effects lexapro side biaxin cheap generic valium diazepam buy online nexium bupropion discount phentermine ambien online vioxx celebrex celebrex prescription diet pills buy celexa prevacid online side effects of xanax buy online carisoprodol klonopin wafer tramadol cod buy cheap carisoprodol zolpidem order alcohol lexapro clomid low cost xenical generic sildenafil buy xenical online discount phentermine buy levitra online does meridia work glucophage pcos generic norvasc cheap prescription diet pills ephedrine buy ephedra products hydroxycut with ephedrine zoloft phentermine 37 5mg ambien side effects klonopin wafer lexapro generic ultram generic levitra buy tetracycline buy online celexa effects lexapro side buy ultram online soma hydrocodone online buy fioricet side effects of zoloft effects lexapro side clomid success rates canada discount celexa buy soma cheap alcohol lexapro buy zanaflex photo prescription drug reference meridia is ultracet a narcotic atenolol tadalafil alternative buy tramadol buy online fioricet drugs online without a prescription prevacid solutab generic propecia acyclovir online cheap levitra valium without prescription buy fioricet cheap diazepam carisoprodol buying gain lexapro weight meridia discount norvasc 5mg biaxin buy online glucophage generic propecia atenolol side effects buy zolpidem online meridia side effects cheap ephedra hydrocodone no prescription nexium online hydrocodone buy cialis buy cheap carisoprodol buy online claritin phentermine lexapro symptom withdrawal clomid success prescription drug store online cheap diflucan levitra alternative discount prescription cialis online ambien side effects buy online ultracet buy valium online prevacid online klonopin wafer discount phentermine buspar buspirone prevacid online tramadol buy ephedra online buy ambien valium without prescription bextra and cardiovascular safety xango juice cheap ultram cheap soma phentermine online cheap levitra claritin buy vicodin buy cheap ultram medicare prescription drug plan cialis online

Trac Permissions

Trac uses a simple but flexible permission system to control what users can and can't access.

Permission privilegies are managed using the trac-admin tool.

Regular visitors, non-authenticated users, accessing the system are assigned the default role (user) named anonymous. Assign permissions to the anonymous user to set privilegies for non-authenticated/guest users.

In addition to these privileges users can be granted additional individual rights in effect when authenticated and logged into the system.

Available privileges

  • TRAC_ADMIN
  • LOG_VIEW
  • FILE_VIEW
  • CHANGESET_VIEW
  • BROWSER_VIEW
  • TICKET_VIEW, TICKET_CREATE, TICKET_MODIFY, TICKET_ADMIN
  • REPORT_VIEW, REPORT_CREATE, REPORT_MODIFY, REPORT_DELETE, REPORT_ADMIN, REPORT_SQL_VIEW
  • WIKI_VIEW, WIKI_CREATE, WIKI_MODIFY, WIKI_DELETE, WIKI_ADMIN
  • MILESTONE_VIEW, MILESTONE_CREATE, MILESTONE_MODIFY, MILESTONE_DELETE
  • ROADMAP_VIEW, ROADMAP_ADMIN
  • TIMELINE_VIEW
  • SEARCH_VIEW
  • CONFIG_VIEW

The something_ADMIN privileges are just shortcuts that can be used to grant a user all the something privileges in one go. Having TRAC_ADMIN is like being root on a *NIX system, it will let you do anything you want.

Granting privileges

Currently the only way to grant privileges to users is by using the trac-admin script. The current set of privileges can be listed with the following command:

  $ trac-admin /path/to/projenv permission list

This command will let the user bob delete reports:

  $ trac-admin /path/to/projenv permission add bob REPORT_DELETE

Permission groups

Permissions can be grouped together to form roles such as developer, admin, etc.

  $ trac-admin /path/to/projenv permission add developer WIKI_ADMIN
  $ trac-admin /path/to/projenv permission add developer REPORT_ADMIN
  $ trac-admin /path/to/projenv permission add developer TICKET_MODIFY
  $ trac-admin /path/to/projenv permission add bob developer
  $ trac-admin /path/to/projenv permission add john developer

Default permissions

Granting privileges to the special user anonymous can be used to control what an anonymous user can do before they have logged in.

In the same way, privileges granted to the special user authenticated will apply to any authenticated (logged in) user.


See also: TracAdmin, TracGuide