Project

General

Profile

Development #5541

Add a page to manage providers

Added by Frédéric Péters about 5 years ago. Updated over 4 years ago.

Status:
Nouveau
Priority:
Normal
Category:
-
Target version:
Start date:
19 Sep 2014
Due date:
% Done:

0%

Patch proposed:
No
Planning:
No

Description

It would be nice to have a /manage/providers/ page that would allow to easily create/etc. (saml/oauth/...) providers.

Maybe I should do real mockups about this but the idea would be to have [new] and [new from metadata] buttons, [new from metadata] would allow an upload or an URL. [new] would first ask for the type of service (saml/oauth/...) then ask for a minimal set of parameters (looking at simplesamlphp, for saml providers it could be AssertionConsumerService, SingleLogoutService, NameIDFormat, and a field to select the attribute to use as nameid, if relevant).

Then it's just like the other /manage/ pages, search/modify/delete and stuff.


Related issues

Related to Authentic 2 - Development #5540: Possibility to create saml service provider from its AssertionConsumerService endpoint Nouveau 19 Sep 2014
Related to Authentic 2 - Development #751: Improve the manager based on RBAC Fermé 12 Oct 2011

Associated revisions

Revision b96ece49 (diff)
Added by Benjamin Dauvergne over 4 years ago

models,managers: add a ServiceManager as default manager for Service (#5541)

Revision 71be9458 (diff)
Added by Benjamin Dauvergne over 4 years ago

managers: make ServiceManager an InheritanceQuerySetMixin and usable by related fields (#5541)

It's needed to make polymorphic methods on Service objects, it should
simplify implementing new manager view for managing different kind of
services.

Revision 22a1d573 (diff)
Added by Benjamin Dauvergne over 4 years ago

a2_rbac: add a related_name to Role.service foreign key (#5541)

Service role can be now be listed using service.roles.all().

Revision cec723fe (diff)
Added by Benjamin Dauvergne over 4 years ago

manager: start implementing service management views (#5541)

They give access to service roles management.

Revision 56c5f21b (diff)
Added by Benjamin Dauvergne over 4 years ago

manager: finish service roles views, improve form display (#5541)

History

#1 Updated by Benjamin Dauvergne almost 5 years ago

  • Assignee set to Benjamin Dauvergne
  • Priority changed from Normal to Haut

#2 Updated by Benjamin Dauvergne almost 5 years ago

  • Related to Development #5540: Possibility to create saml service provider from its AssertionConsumerService endpoint added

#3 Updated by Benjamin Dauvergne almost 5 years ago

#4 Updated by Benjamin Dauvergne almost 5 years ago

  • Target version set to future

#5 Updated by Benjamin Dauvergne almost 5 years ago

  • Target version changed from future to 2.1.12

#7 Updated by Benjamin Dauvergne almost 5 years ago

For now each idp module use its own model to instantiate services (they have no base model they can share) so for now, each services will be listed in its own listing.

 Orga > Services      [ Ajouter un service ]

[ CAS    ]     |   Nom         | EntityID           |
  SAML         | 1 Service1    |                    |
[ OAuth2 ]     | 2 Servoce2    |                    |
               |               |                    |

Each IdP backend should provide configuration for a listing view, a django-tables2 Table object, a creation and edit view. IdP backend object should have a get_service_manager() method, this method will return a Table object and an urlpattern() object.

#8 Updated by Benjamin Dauvergne over 4 years ago

  • Target version changed from 2.1.12 to 2.1.13

#9 Updated by Benjamin Dauvergne over 4 years ago

  • Target version changed from 2.1.13 to 2.2.0

#10 Updated by Frédéric Péters over 4 years ago

  • Priority changed from Haut to Normal

#11 Updated by Benjamin Dauvergne over 4 years ago

New roadmap:
  • CAS and SAML services have a base model: authentic2.Service
  • They should share some common functionnalities
    • service roles and their attributes
    • authentication level constraint

Also available in: Atom PDF