Add permissions for the tracker pages

Created on 6 April 2010, about 14 years ago
Updated 22 April 2024, 2 months ago

Problem/Motivation

There is no way of distinguish access permission of the tracker modules track tab. Currently the "access content" permission is used to access the track tab on the user page. The intention is to refine this.

Proposed resolution

The patch in #45 adds these three permissions:

  • access global tracker
  • access other user's tracker
  • access own tracker

Remaining tasks

The given patch has to be reviewed and tested by some more people to be able to be set RTBC.

User interface changes

Added permission on the administer permission page.

API changes

No changes.

Original report by gaellafond

Hi,

It seem that the tracker module in Drupal 6.16 core do not have any permissions handler. It only check if the user has access content or not. This patch add a access tracker and a access own tracker setting in the permission page.

In other words, this patch allow you to nicely disable the track tab.

NOTE: I added a special case denied access to user own tracker if the user has access to tracker but not to his own tracker. It seem odd to me to allow a user to see all other user's tracker but not his own, but I guess that's what you expect if u check the access tracker but not access own tracker.

✨ Feature request
Status

Needs work

Version

1.0

Component
TrackerΒ  β†’

Last updated 26 days ago

No maintainer
Created by

πŸ‡¦πŸ‡ΊAustralia gaellafond

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024