Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1256

Improvements over m_RequireLogin tag

    XMLWordPrintable

    Details

    • Type: Refactoring
    • Status: Needs Changes
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.3.0
    • Component/s: Front End
    • Labels:
      None
    • Additional information:
      Hide

      Knowing cyclomatic complexity for this tag we need to do a full refactoring on it be able to change anything first.

      Show
      Knowing cyclomatic complexity for this tag we need to do a full refactoring on it be able to change anything first.
    • Change Log Group:
      Added
    • Change Log Message:
      Allow "m_RequireLogin" tag to show error message on same page (as modal window) instead of redirecting to dedicated login/no_permission page.
    • Story Points:
      2
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Add following parameters to m_RequireLogin tag:

      • dry_run - allows for tag to be used inside "m_if" and "m_elseif" tags without actually doing a redirect on access violation
      • self_redirect - redirect to same page user was on with "access_violation" parameter added instead of redirecting to other page on access violation

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Gleb Sinkovskiy [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: