nextcloud / nextcloud/workflow_script
A wildcat to get Approvel Workflow requester's ID
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- PHP
- Sterne
- 89
- Forks
- 19
- Ø Merge
- 6 Std. 38 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Feature request
Which Nextcloud Version are you currently using: (see administration page)
29.0.9
Is your feature request related to a problem? Please describe.
I am using Approval workflow to automate add a tag to trigger the flow script. I need to get the requester's id to send the file to the correct location. When the file requesting approval is owned by the requester I can use %o to do that. But when the file is owned by others shared with the requester, I have no means to get the requester's ID. I tried the %a but it is the approver's ID in stead of the requester. Is their a way to get the id of the requester?
Describe the solution you'd like
A clear and concise description of what you want to happen.
A new wildcat to represent the current requester of the file instead of the original owner that share the file.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
%o can auto detect whether the file is shared and act on the correct id.
Additional context
Add any other context or screenshots about the feature request here.
nothing yet
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, nachzuverfolgen, wie die vorhandenen Platzhalter %o und %a in der App workflow_script aufgelöst werden, und folge dann dem Approval-Workflow-Kontext, um den aktuellen Anforderer für eine von jemand anderem freigegebene Datei zu ermitteln. Als erledigt gilt die Aufgabe, wenn ein neuer Platzhalter die ID dieses Anforderers zurückgibt, ohne das bestehende Verhalten für Besitzer oder Genehmiger zu ändern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- php
- Bereich
- backend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 32/100