Skip to content

Master tabs don't get hidden in a drop down if a user doesn't have access to them #673

@philayres

Description

@philayres
nav:
  links:
  - label: activities
    resource_type: report
    resource_name: play_ipa__play_ipa_tracker_activity_history
    url: "/reports/play_ipa__play_ipa_tracker_activity_history?search_attrs[master_id]={{id}}"
  - label: calendar
    resource_type: report
    resource_name: play_ipa__play_ipa_appointments
    url: "/reports/play_ipa__play_ipa_appointments?search_attrs[play_ipa_id]={{play_ipa_id}}"
  resources:
  label: extras

These should not appear if the resource name/type are not accessible to the user. Then the whole drop down needs to also disappear if there are no contents.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions