Closed martsa1 closed 8 years ago
Pulled in latest changes and now get subtle variations on the above, different commands report back different permissions errors, but nothing ever succeeds. Explicitly adding the permissions reported by cm doesn't seem to make any difference...
cm properties
error: TICKET_VIEW privileges are required to perform this operation. You don't have the required permissions.
cm reports
error: REPORT_VIEW privileges are required to perform this operation. You don't have the required permissions.
cm report 7
error: REPORT_VIEW privileges are required to perform this operation on report:7. You don't have the required permissions.
cm search trac
error: SEARCH_VIEW privileges are required to perform this operation. You don't have the required permissions.
cm new
error: TICKET_VIEW privileges are required to perform this operation. You don't have the required permissions.
etc.
How do you authenticate with Trac normally? We have two types of authentication available, you may have to try the other type (auth_type = digest
).
Ah, that might be it, all the accounts on this trac environment are configured to use the Account_Manager plugin, which provides an authentication form, rather than using HTTP Authentication. I guess that might be it?
edit: I tried using that but it didn't help
Yes, that's exactly it. I have never used this plugin but it seems rather large and popular, I might try to add it as another authentication method.
Awesome. Let me know if I can be of help testing.
Would you mind trying master, I tried to install AccountManager locally and it seems to work, you need to use the following authentication setting in your cartman config:
auth_type = acctmgr
Looks like it works for me!
I'll do a bit more testing next time I'm in the office, but right now I can do various read only operations.
Nice work!
Did a bit more testing today, write access works great too.
Thanks!
Hi Folks,
First off, thank you for putting this tool together, it looks awesome!
I'm not sure if I'm doing something stupid, but any combination of
cm
commands each result in a permissions error:error: WIKI_VIEW privileges are required to perform this operation on WikiStart. You don't have the required permissions.
My
~/.cartman/config
file looks like this:My trac instance is reachable at
http://trac/trac
(Don't ask why its doubled up like that, long story!) and I have trac_admin permissions.Is there any way I can get some debug output to figure out what is going on further?
Thanks in advance,