Skip to content

Commit

Permalink
fix: remove desk access for Guest in post_model_sync (#20719) (#20720)
Browse files Browse the repository at this point in the history
since we added used_oauth colum in User Email, it used to fail as it wasn't present in db in pre-model
when migrating from v13 to v14

(cherry picked from commit a232c75)

Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>
  • Loading branch information
mergify[bot] and phot0n committed Apr 16, 2023
1 parent 774a2b4 commit 97e0836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ execute:frappe.db.set_default('desktop:home_page', 'space')
execute:frappe.delete_doc_if_exists('Page', 'workspace')
execute:frappe.delete_doc_if_exists('Page', 'dashboard', force=1)
frappe.core.doctype.page.patches.drop_unused_pages
execute:frappe.get_doc('Role', 'Guest').save() # remove desk access
frappe.patches.v13_0.remove_chat
frappe.patches.v13_0.rename_desk_page_to_workspace # 02.02.2021
frappe.patches.v13_0.delete_package_publish_tool
Expand Down Expand Up @@ -200,6 +199,7 @@ frappe.patches.v14_0.delete_payment_gateways
frappe.patches.v14_0.event_streaming_deprecation_warning

[post_model_sync]
execute:frappe.get_doc('Role', 'Guest').save() # remove desk access
frappe.core.doctype.role.patches.v13_set_default_desk_properties
frappe.patches.v14_0.drop_data_import_legacy
frappe.patches.v14_0.copy_mail_data #08.03.21
Expand Down

0 comments on commit 97e0836

Please sign in to comment.