Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
fusiondirectory
fusiondirectory
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 49
    • Issues 49
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • fusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5745

Closed
Open
Opened Dec 20, 2017 by Côme Chilliet@cchillietDeveloper

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
FusionDirectory 1.3
Milestone
FusionDirectory 1.3 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: fusiondirectory/fd#5745