Edgewall Software

Ticket #4291 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: sergeeng@… Owned by: cmlenz
Priority: normal Milestone:
Component: admin/console Version: 0.10.2
Severity: minor Keywords: trac-admin permission initenv
Cc:

Description

Try this:

1. Run trac-admin and create a new project environment interactively but DON'T specify any repository directory.

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

Change History

Changed 2 years ago by cboos

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

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

Thanks for the report anyway!

Add/Change #4291 (trac-admin can't remove Repository Browser priveleges if trac environment was initialized without svn repo)

Author



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