Hi,

Attached is a patch that adds the above permissions. I needed those so maybe others may find it useful.

(BTW, by default there is a view that overrides the global tracker URL, so either set permissions in the view or disable the view to control access to this URL).

Comments appreciated.

Comments

gaellafond’s picture

Hi Bluetegu,

Thanks for your patch. I'm currently using Drupal 6 so I create an other one very similar to yours.

http://drupal.org/node/762962

Gael

quotesbro’s picture

Version: 5.x-1.14 » 6.x-1.x-dev
Priority: Minor » Normal
quotesbro’s picture

StatusFileSize
new999 bytes

Patch for 6.x-1.1

quotesbro’s picture

Status: Active » Needs review
jeffschuler’s picture

StatusFileSize
new1.63 KB

The patch in #3 didn't work for me, in allowing non-admin users with appropriate permissions to access their own tracker.

access arguments should get an array of permissions. Since we want logic in there, I made it a callback. Actually, there was already a _tracker2_user_access(), not being used, so I've modified and used that.

quotesbro’s picture

Status: Needs review » Reviewed & tested by the community

#5 works fine and looks very reasonable.