Skip to content

Redirect to view if permission failed on edit #5568

Closed
@cod3monk

Description

@cod3monk

Describe the feature you'd like

When a user liks on an edit link to a page (e.g., some one sent it to the user), but does not have permission to edit it. Redirect to the public view of that page, if the permissions permit, while still presenting the user with the error message.

Currently the user is redirected to the home view, unable to find the page without self-interperting the slug in the URL.

Describe the benefits this would bring to existing BookStack users

We sometimes have users that copy a link while in edit view and expect other to be able to view the page.

Can the goal of this request already be achieved via other means?

nope

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

1 to 5 years

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions