Uploaded image for project: 'stripes-components'
  1. stripes-components
  2. STCOM-64

<Settings> emits routes for pages which fail the permission check

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 1.7.0

    Description

      So even if (say) you don't have the necessary ui-organization.settings.key-bindings permission that causes the Settings > Organization > Key bindings link to appear, you can still go directly to http://localhost:3000/settings/organization/keys and maintain those bindings. The route should not be generated.

      Worse: the component associated with the first route that is generated also becomes the default page shows for the module's settings, so when you first go to the module's settings, you will see the first-listed settings page even if you don't have permission to see it.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mike Mike Taylor
                mike Mike Taylor
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 hour
                    1h

                    TestRail: Runs

                      TestRail: Cases