I am able to save permission changes to the database but those permissions are being ignored by the application.

I do:
trac-admin /path/to/app permission add TRAC_ADMIN peter

and receive:
Command failed: Cannot insert a duplicate key into unique index permission_pk

So I know its in there.

And yet when I do:
trac-admin /path/to/app permission list peter

I receive:

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

The permission that is in the database is NOT in the list of permissions for the same user.

Further, its clear that the application itself does not see the new permissions I've added.

Why might this be?

Thanks

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to