Projet esup-lecture
Pages enfant
  • Configuration guide

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.
Commentaire: Migrated to Confluence 5.3

...

Bloc de code
<visibility>
   <allowed/>
   <autoSubscribed/>
   <obliged>
      <group name="local.0"/>
      <group .../>
      ...
      <regular attribute="sn" value="user" />
      <regular .../>
      ...
   <   <regex attribute="isMemberOf" pattern="[ a-zA-Z0-9:]*:Eleves" />

      <regex .../>
      ...
 </obliged>
</visibility>

In this element, you define 3 groups of visibility;

...

  • group : user is in the portal group referenced by attribute name, in the example : user in in group "local.0.0" - see "portlet.xml" section.
  • regular : user check regular, in the example : user value of portal attribute "sn" is "user" - see "portlet.xml" section.regular
  • regex : user check a java regular expression from a portal user attribute, in the example : user value of portal attribute "sn" is "userisMemberOf" is matching the pattern corresponding of all members of a group when the name contains these characters "[ a-zA-Z0-9:]" 0 or n times and when the name finish by ":Eleves" - see "portlet.xml" section.

...