Modify

Opened 7 years ago

Closed 7 years ago

Last modified 11 months ago

#1698 closed defect (worksforme)

TICKET_CREATE_SIMPLE not available in trac-admin after installation

Reported by: quinn@… Owned by: coderanger
Priority: normal Component: SimpleTicketPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Using Trac 0.10.4 and TracSimpleTicket-1.1.3

Installed TracSimpleTicket-1.1.3:

[root@mx/0 0.10]$easy_install dist/TracSimpleTicket-1.1.3-py2.3.egg 
Processing TracSimpleTicket-1.1.3-py2.3.egg
Copying TracSimpleTicket-1.1.3-py2.3.egg to /usr/lib/python2.3/site-packages
Removing TracSimpleTicket 0.1 from easy-install.pth file
Adding TracSimpleTicket 1.1.3 to easy-install.pth file

Installed /usr/lib/python2.3/site-packages/TracSimpleTicket-1.1.3-py2.3.egg
Processing dependencies for TracSimpleTicket==1.1.3

Added configuration to /home/scdev/trac/projects/demo/conf/trac.ini:

[simpleticket]
hide = milestone, owner, component, priority

Then could not set the TICKET_CREATE_SIMPLE permission:

Trac [/home/scdev/trac/projects/demo]> 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_MODIFY  
anonymous  TICKET_VIEW    
anonymous  TIMELINE_VIEW  
anonymous  WIKI_CREATE    
anonymous  WIKI_MODIFY    
anonymous  WIKI_VIEW      


Available actions:
 BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, FILE_VIEW, LOG_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, TICKET_VIEW_CC, TICKET_VIEW_CC_GROUP, TICKET_VIEW_GROUP,
 TICKET_VIEW_OWNER, TICKET_VIEW_OWNER_GROUP, TICKET_VIEW_REPORTER,
 TICKET_VIEW_REPORTER_GROUP, TICKET_VIEW_SELF, TIMELINE_VIEW, TRAC_ADMIN,
 WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE, WIKI_MODIFY, WIKI_VIEW

Trac [/home/scdev/trac/projects/demo]> permission add bob TICKET_CREATE_SIMPLE
Command failed: TICKET_CREATE_SIMPLE is not a valid action.

What's wrong?

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by coderanger

  • Resolution set to worksforme
  • Status changed from new to closed

As with all plugins, you need to enable it in trac.ini if you are installing it globally. Please read TracPlugins.

comment:2 Changed 7 years ago by anonymous

Doh! I forgot that step. Thanks for the tip.

comment:3 Changed 11 months ago by it@…

  • Trac Release changed from 0.10 to 0.12

And nowhere is the name of the plugin specified. I tried many various of

tracsimpleticket.* = enabled

comment:4 Changed 11 months ago by rjollos

It should be:

simpleticket.* = enabled

I edited the project wiki page accordingly.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coderanger. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.