[Mahara-contributors] [Bug 1724743] Re: SAML metadata page shouldn't redirect to main page when a site is in maintenance mode

2018-04-05 Thread Robert Lyon
** Changed in: mahara
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724743

Title:
  SAML metadata page shouldn't redirect to main page when a site is in
  maintenance mode

Status in Mahara:
  Fix Released

Bug description:
  SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
  main page when a site is in maintenance mode. Ideally, it should send
  503 HTTP response to let systems who read the metadata know, that the
  file is not accessible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724743/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1724743] Re: SAML metadata page shouldn't redirect to main page when a site is in maintenance mode

2018-03-08 Thread Kristina Hoeppner
** Tags added: nominatedfeature

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724743

Title:
  SAML metadata page shouldn't redirect to main page when a site is in
  maintenance mode

Status in Mahara:
  Fix Committed

Bug description:
  SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
  main page when a site is in maintenance mode. Ideally, it should send
  503 HTTP response to let systems who read the metadata know, that the
  file is not accessible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724743/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1724743] Re: SAML metadata page shouldn't redirect to main page when a site is in maintenance mode

2018-03-07 Thread Robert Lyon
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724743

Title:
  SAML metadata page shouldn't redirect to main page when a site is in
  maintenance mode

Status in Mahara:
  Fix Committed

Bug description:
  SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
  main page when a site is in maintenance mode. Ideally, it should send
  503 HTTP response to let systems who read the metadata know, that the
  file is not accessible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724743/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1724743] Re: SAML metadata page shouldn't redirect to main page when a site is in maintenance mode

2018-03-07 Thread Robert Lyon
Actually we should just allow the public metadata page to be accessible
when in maintenance mode as that will be the easier fix

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724743

Title:
  SAML metadata page shouldn't redirect to main page when a site is in
  maintenance mode

Status in Mahara:
  In Progress

Bug description:
  SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
  main page when a site is in maintenance mode. Ideally, it should send
  503 HTTP response to let systems who read the metadata know, that the
  file is not accessible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724743/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1724743] Re: SAML metadata page shouldn't redirect to main page when a site is in maintenance mode

2018-03-07 Thread Robert Lyon
** Changed in: mahara
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724743

Title:
  SAML metadata page shouldn't redirect to main page when a site is in
  maintenance mode

Status in Mahara:
  In Progress

Bug description:
  SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
  main page when a site is in maintenance mode. Ideally, it should send
  503 HTTP response to let systems who read the metadata know, that the
  file is not accessible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724743/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1724743] Re: SAML metadata page shouldn't redirect to main page when a site is in maintenance mode

2017-11-07 Thread Cecilia Vela Gurovic
** Changed in: mahara
 Assignee: (unassigned) => Cecilia Vela Gurovic (ceciliavg)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724743

Title:
  SAML metadata page shouldn't redirect to main page when a site is in
  maintenance mode

Status in Mahara:
  Confirmed

Bug description:
  SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
  main page when a site is in maintenance mode. Ideally, it should send
  503 HTTP response to let systems who read the metadata know, that the
  file is not accessible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724743/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1724743] Re: SAML metadata page shouldn't redirect to main page when a site is in maintenance mode

2017-10-27 Thread Robert Lyon
Around line 391 of init.php we check if site is closed for
upgrade/maintenance mode and if so we logout the user and redirect them
to homepage if not doing install/upgrade.

Where we check $USER->is_logged_in() on line 396 we could also check if
the auth instance is an external vs internal auth type and reply with
the correct HTTP response and/or json object saying access is not
available if external auth type before logging them out and redirecting
to hompage.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724743

Title:
  SAML metadata page shouldn't redirect to main page when a site is in
  maintenance mode

Status in Mahara:
  Confirmed

Bug description:
  SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
  main page when a site is in maintenance mode. Ideally, it should send
  503 HTTP response to let systems who read the metadata know, that the
  file is not accessible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724743/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1724743] Re: SAML metadata page shouldn't redirect to main page when a site is in maintenance mode

2017-10-21 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: None => 18.04.0

** Changed in: mahara
   Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1724743

Title:
  SAML metadata page shouldn't redirect to main page when a site is in
  maintenance mode

Status in Mahara:
  Confirmed

Bug description:
  SAML metadata page  /auth/saml/sp/metadata.php shouldn't redirect to
  main page when a site is in maintenance mode. Ideally, it should send
  503 HTTP response to let systems who read the metadata know, that the
  file is not accessible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1724743/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp