Skip to content

Commit

Permalink
fix: ignore links while adding lending docperms to ess (backport #1916)…
Browse files Browse the repository at this point in the history
… (#1919)

(cherry picked from commit 675578b)

Co-authored-by: Akash  Tom <61287991+krantheman@users.noreply.github.com>
  • Loading branch information
mergify[bot] and krantheman authored Jun 25, 2024
1 parent 04ec743 commit 198061a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hrms/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ def add_lending_docperms_to_ess():
loan_docperms = get_lending_docperms_for_ess()
append_docperms_to_user_type(loan_docperms, doc)

doc.flags.ignore_links = True
doc.save(ignore_permissions=True)


Expand Down

0 comments on commit 198061a

Please sign in to comment.