Remove module dependencies and hide fields for inactive modules

Created on 9 November 2011, about 13 years ago
Updated 24 February 2023, almost 2 years ago

This is a branch from #1324864: Access Denied - task_tickets_js (see comment 4 & 5).

To use timetracking you need to enable project, task and ticket, even though you might not want them (only Organization is mandatory on a timetracking record).
To use notes you need to enable project and task, even though you might not want them (only Organization is mandatory on a note record).
To use tickets you need to enable project and task, even though you might not want them (only Organization is mandatory on a ticket record).
To use expenses you need to enable project, task and ticket, even though you might not want them (only Organization is mandatory on an expenses record).

These dependencies should be changed so that they only depend on the Organization module.

Also any fields on the add/edit/view pages relating to inactive modules should be hidden and cannot be used.

This may also mean that if there are permissions on the javascript for the drop-down boxes, these should also be checked/removed. The only permissions should be inside it (i.e. to display projects/tasks/tickets you have access to).

Feature request
Status

Closed: outdated

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom tchurch

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.

  • 🇩🇪Germany D34dMan Hamburg

    All feature request against 7.x would be closed. The focus is now on Drupal 10 release. If you feel this issue is relevant for Drupal 10 version of the project, please feel free to re-open and update the issue. Thanks for the discussion/contribution.

    You may follow 📌 Port PM to Drupal 10 Active to know more about Drupal 10 status.

Production build 0.71.5 2024