| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| blocks:usermnethosts:userguide [2017/11/20 12:30] – [Credits] florence | blocks:usermnethosts:userguide [2026/11/13 20:37] (Version actuelle) – modification externe 127.0.0.1 |
|---|
| ===== User Mnet Hosts Block : User guide ===== | <html><!-- nomoodle --></html>{{ :blocks:logo-apl.png?nolink |}}<html><!-- /nomoodle --></html> |
| | =====User Mnet Hosts block (User network navigation): User guide===== |
| |
| ====Introduction==== | ====Introduction==== |
| |
| <html><!-- nomoodle --></html>{{ :vmoodle.png?nolink&120}}<html><!-- /nomoodle --></html>Le bloc User Mnet Hosts (Mes sites du réseau - non standard) est similaire au bloc "Sites du réseau" (Mnet Hosts), mais en ajoutant une gestion individuelle du contrôle d'accès à chaque hôte MNET. | <html><!-- nomoodle --></html>{{ :vmoodle.png?nolink&120}}<html><!-- /nomoodle --></html>The User Mnet Hosts block (My network sites - non-standard) is similar to the "Network sites" block (Mnet Hosts), but adds individual access control management for each MNET host. |
| |
| |
| En effet, le bloc standard fournit un accès inconditionnel à tous les sites ouverts en SSO dans Moodle, mais ne fournit aucun moyen d'en contrôler l'accès "à la source" (un contrôle d'accès peut être fait à l'arrivée par une fonction technique peu accessible, et surtout destinée à mettre en place des "banissements" exceptionnels). | Indeed, the standard block provides unconditional access to all the sites opened in SSO in Moodle, but provides no way to control access "at the source" (an access control can be done on arrival through a hardly accessible technical function, mainly intended to set up exceptional "bans"). |
| |
| Des champs supplémentaires de profil permettent de contrôler ces accès. | Additional profile fields allow controlling these accesses. |
| |
| Le bloc dispose de ses outils propres pour générer les champs supplémentaires de profil nécessaire au contrôle des accès dans le réseau. | The block has its own tools to generate the additional profile fields needed to control access in the network. |
| |
| :!: Le bloc accessoire [[blocks:groupnetwork|Bloc Group Network]] permettra de déléguer facilement l'attribution des accès à des rôles non administrateur. | :!: The accessory [[blocks:groupnetwork|Group Network block]] will make it easy to delegate the granting of access to non-administrator roles. |
| |
| ====Block preparation==== | ====Preparing the block==== |
| |
| Pour que le bloc fonctionne, il faut générer un champ de profil pilotant l'accès réseau pour chaque hôte MNET connu dans l'environnement réseau de Moodle. Ces champs peuvent être créés à la main, en suivant les règles de nommage suivantes : | For the block to work, a profile field driving network access must be generated for each MNET host known in Moodle's network environment. These fields can be created by hand, following these naming rules: |
| | |
| * Le nom du champ doit commencer par "access" | * The field name must start with "access" |
| * Le nom du champ se termine par le radical d'hôte, filtré de tout caractère non alphanumérique, et ramené en majuscules. | * The field name ends with the host stem, filtered of any non-alphanumeric character, and converted to uppercase. |
| |
| **//Exemples ://** | **//Examples://** |
| |
| * Pour un Moodle distant : http://clone1.mondomaine.fr => accessCLONE1 | * For a remote Moodle: http://clone1.mydomain.com => accessCLONE1 |
| * Pour un Moodle distant : http://sub1.sous-domaine.mondomaine.fr => accessSUB1SOUSDOMAINE | * For a remote Moodle: http://sub1.sub-domain.mydomain.com => accessSUB1SUBDOMAIN |
| |
| Les champs sont de préférence à ajouter à la catégorie définie pour les "champs de contrôle d'accès réseau" | The fields are preferably to be added to the category defined for the "network access control fields" |
| |
| {{ :blocks:usermnethosts:champs_profil_personnalises.png |}} | {{ :blocks:usermnethosts:champs_profil_personnalises.png |}} |
| |
| //Exemples de deux champs de profil personnalisés créés dans la catégorie « Catégorie des attributs d’accès » (champs verrouillés et cachés, dont le nom commence par « access » et finit par le radical hôte en majuscule)// | //Examples of two custom profile fields created in the "Access attributes category" (locked and hidden fields, whose name starts with "access" and ends with the host stem in uppercase)// |
| |
| |
| Alternativement, la configuration central du bloc fournir un outillage (Synchroniser les champs de contrôles d'accès) pour générer automatiquement les champs manquants, en fonction de l'analyse de l'environnement MNET. | Alternatively, the central configuration of the block provides a tool (Synchronise the access control fields) to automatically generate the missing fields, based on the analysis of the MNET environment. |
| |
| ====Envoi et réception des champs de profil Mnet hosts==== | ====Sending and receiving Mnet hosts profile fields==== |
| |
| **//Chemin ://** Administration du site/réseau Moodle/ Champ du profil | **//Path://** Site administration/Moodle network/ Profile field |
| |
| Vous pouvez configurer ici la liste des champs de profil envoyés et reçus par MNet lors de la création ou de la modification de comptes utilisateurs. Vous pouvez également modifier ceci individuellement pour chaque pair MNet. | You can configure here the list of profile fields sent and received by MNet when creating or modifying user accounts. You can also change this individually for each MNet peer. |
| |
| |
| ^{{ :blocks:usermnethosts:mnet_profile_export_fields.png?nolink }}^{{ :blocks:usermnethosts:mnet_profile_import_fields.png?nolink }}^ | ^{{ :blocks:usermnethosts:mnet_profile_export_fields.png?nolink }}^{{ :blocks:usermnethosts:mnet_profile_import_fields.png?nolink }}^ |
| |
| Défaut : city, country, lang, timezone, picture, description, mailformat, maildigest, maildisplay | Default: city, country, lang, timezone, picture, description, mailformat, maildigest, maildisplay |
| Nota : Les champs suivants sont toujours envoyés et ne sont pas optionnels : username, email, firstname, lastname, auth, wwwroot, session.gc_lifetime, _mnet_userpicture_timemodified, _mnet_userpicture_mimetype | Note: The following fields are always sent and are not optional: username, email, firstname, lastname, auth, wwwroot, session.gc_lifetime, _mnet_userpicture_timemodified, _mnet_userpicture_mimetype |
| |
| |
| |
| ====Ajout du bloc==== | ====Adding the block==== |
| |
| Ajoutez ensuite une instance du bloc User Mnet Hosts (au lieu du bloc standard Mnet Hosts) sur votre site Moodle pour limiter la vue vers les instances Moodle autorisées. | Then add an instance of the User Mnet Hosts block (instead of the standard Mnet Hosts block) on your Moodle site to limit the view to the authorised Moodle instances. |
| |
| {{ :blocks:usermnethosts:user_mnet_hosts.png?nolink |}} | {{ :blocks:usermnethosts:user_mnet_hosts.png?nolink |}} |
| |
| |
| ====Réglages généraux du composant==== | ====General component settings==== |
| |
| **//Chemin : //** Votre site Moodle/admin/settings.php?section=blocksettinguser_mnet_hosts | **//Path: //** Your Moodle site/admin/settings.php?section=blocksettinguser_mnet_hosts |
| |
| Par défaut, l'accès aux réglages généraux crée une catégorie de champs personnalisés dédiée pour le rangement des champs d'accès réseau, et crée le champ représentent l'accès à la plate-forme Moodle elle-même (self). | By default, accessing the general settings creates a dedicated custom field category for storing the network access fields, and creates the field representing access to the Moodle platform itself (self). |
| |
| * Cliquez sur le lien "Synchronisation des champs de contrôle d'accès au réseau" pour arriver sur la page d’administration Votre site Moodle/blocks/user_mnet_hosts/admin.php | * Click the "Network access control fields synchronisation" link to reach the administration page Your Moodle site/blocks/user_mnet_hosts/admin.php |
| |
| * Cliquez ensuite sur le bouton "Synchroniser les champs d'accès" pour resynchroniser les champs d'accès des partenaires ajoutés ou définis dans le réseau Moodle. | * Then click the "Synchronise access fields" button to resynchronise the access fields of the partners added or defined in the Moodle network. |
| |
| |
| //Copie d'écran du message retour de la synchronisation :// | //Screenshot of the synchronisation return message:// |
| |
| {{ :blocks:usermnethosts:synchro-mnet-user.png?nolink |}} | {{ :blocks:usermnethosts:synchro-mnet-user.png?nolink |}} |
| |
| * Valéry Frémaux (valery@activeprolearn.com) - Development and tests | * Valéry Frémaux (valery@activeprolearn.com) - Development and tests |
| * FLorence Labord (florence@activeprolearn.com) - Documentation and tests | * Florence Labord (florence@activeprolearn.com) - Documentation and tests |
| |
| [[blocks:usermnethosts|Back to User Mnet Hosts block component ]] - [[:Plugins|Back to plugins]] - [[:start|Back to catalogue]] - [[:Local:VMoodle|VMoodle component index]] | |
| | |
| | [[blocks:usermnethosts|Back to the User Mnet Hosts block]] - [[:Plugins|Back to plugins index]] - [[:start|Back to catalogue]] |
| |
| <html><!-- /nomoodle --></html> | <html><!-- /nomoodle --></html> |