Commit 049b54c08d50bacb9186655e46424978239ae984

Authored by nbm
1 parent a7190a54

Show the external group providers, if there are any, as an option to

create a group from there.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4834 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/principals/addgroup.smarty
... ... @@ -2,6 +2,30 @@
2 2  
3 3 <p class="descriptiveText">{i18n}Users may be classed together as Groups and these groups may be used to set security privileges throughout the document management system.{/i18n}</p>
4 4  
  5 +{if $authentication_sources}
  6 + <form action="{$smarty.server.PHP_SELF}" method="POST">
  7 + <input type="hidden" name="action" value="addGroupFromSource" />
  8 + <fieldset><legend>{i18n}Add a group from an authentication source{/i18n}</legend>
  9 +
  10 +<p class="descriptiveText">{i18n}Instead of manually creating the group within
  11 +the document management system, the group can be found within an
  12 +authentication source (such as an LDAP directory) that has already been
  13 +configured. This ensures that the group is correctly set up with limited
  14 +intervention from the administrator, and that the group's membership
  15 +will be maintained as it is in the authentication source.{/i18n}</p>
  16 +
  17 + {entity_select name="source_id" entities=$authentication_sources}
  18 + <div class="form_actions ">
  19 + <input type="submit" name="submit" value="{i18n}Add from source{/i18n}" />
  20 + </div>
  21 + </fieldset>
  22 + </form>
  23 +</p>
  24 +
  25 +<p class="descriptiveText">{i18n}Alternatively, you can manually create a user
  26 +within KnowledgeTree below.{/i18n}</p>
  27 +{/if}
  28 +
5 29 <form action="{$smarty.server.PHP_SELF}" method="POST">
6 30 <input type="hidden" name="action" value="createGroup" />
7 31  
... ...