Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5745
Closed
Open
Issue created Dec 20, 2017 by bmortier@bmortierMaintainer

Special caller* tags should be available in templates as well

Description

When using a hook we can use %callerDN% to get the dn of the user doing the action. We can also use callerCN, callerUID, callerSN and callerGIVENNAME. See https://docs.fusiondirectory.org/en/documentation/how_to/use/hooks?s[]=callerdn#special-variables

These should be available for templates as well as it might be usefull.

Actual behavior

No access to caller* special vars in templates patterns

Expected behavior

Being able to use %callerDN% is a template

Step by step description of new behaviour

  1. Put %callerDN% in a template field
  2. Use the template
  3. It gets the DN of the caller

Benefits

Possible Drawbacks

Applicable Issues

Put the creator of the group in the group by putting %callerDN% in the member field

Set as description «Created by %callerCN%»

Assignee
Assign to
Time tracking