Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#4291 closed defect (duplicate)

trac-admin can't remove Repository Browser priveleges if trac environment was initialized without svn repo

Reported by: sergeeng@… Owned by: Christopher Lenz
Priority: normal Milestone:
Component: admin/console Version: 0.10.2
Severity: minor Keywords: trac-admin permission initenv
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Try this:

  1. Run trac-admin and create a new project environment interactively but DON'T specify any repository directory.
  1. Invoke command:
    permission remove * *
    

See error message:

Command failed: LOG_VIEW is not a valid action.

See also output of permission list command:

Trac [e:\projects_a\boo]> permission list

User       Action
--------------------------
anonymous  BROWSER_VIEW
anonymous  CHANGESET_VIEW
anonymous  FILE_VIEW
anonymous  LOG_VIEW
anonymous  MILESTONE_VIEW
anonymous  REPORT_SQL_VIEW
anonymous  REPORT_VIEW
anonymous  ROADMAP_VIEW
anonymous  SEARCH_VIEW
anonymous  TICKET_CREATE
anonymous  TICKET_MODIFY
anonymous  TICKET_VIEW
anonymous  TIMELINE_VIEW
anonymous  WIKI_CREATE
anonymous  WIKI_MODIFY
anonymous  WIKI_VIEW


Available actions:
 CONFIG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE,
 MILESTONE_MODIFY, MILESTONE_VIEW, REPORT_ADMIN, REPORT_CREATE,
 REPORT_DELETE, REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN,
 ROADMAP_VIEW, SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_CHGPROP,
 TICKET_CREATE, TICKET_MODIFY, TICKET_VIEW, TIMELINE_VIEW, TRAC_ADMIN,
 WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE, WIKI_MODIFY, WIKI_VIEW

Four actions (BROWSER_VIEW, CHANGESET_VIEW, FILE_VIEW, LOG_VIEW) are not shown in the list of "Available actions".

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 17 years ago

Resolution: duplicate
Status: newclosed

This is already fixed by now (r4359, r4260), duplicate of #3688.

Thanks for the report anyway!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.