Skip to content

refactor: remove unused permissions and related code from POS profile#62

Merged
kodlyft-hello merged 1 commit into
developfrom
refactor-Permissions
Jun 6, 2026
Merged

refactor: remove unused permissions and related code from POS profile#62
kodlyft-hello merged 1 commit into
developfrom
refactor-Permissions

Conversation

@kodlyft-hello

Copy link
Copy Markdown
Contributor
  • Removed allow_rate_change, allow_discount_change, allow_print_last_invoice, and allow_print_draft_invoices from posStore and POSProfile type definitions.
  • Updated RolePermissionsView to reflect the removal of certain permissions.
  • Adjusted auth.py to remove unused permission keys.
  • Modified invoices.py and shifts.py to utilize new permission checks for printing draft invoices.
  • Cleaned up install.py by removing deprecated permissions and adjusting default role settings.
  • Updated pos_profile.json to remove fields related to removed permissions and added new fields for cashier settlement and backup receipt printing.
  • Updated pos_profile_user.json to reflect recent changes in the system.

- Removed allow_rate_change, allow_discount_change, allow_print_last_invoice, and allow_print_draft_invoices from posStore and POSProfile type definitions.
- Updated RolePermissionsView to reflect the removal of certain permissions.
- Adjusted auth.py to remove unused permission keys.
- Modified invoices.py and shifts.py to utilize new permission checks for printing draft invoices.
- Cleaned up install.py by removing deprecated permissions and adjusting default role settings.
- Updated pos_profile.json to remove fields related to removed permissions and added new fields for cashier settlement and backup receipt printing.
- Updated pos_profile_user.json to reflect recent changes in the system.
@kodlyft-hello kodlyft-hello merged commit 3098bf6 into develop Jun 6, 2026
0 of 3 checks passed
@kodlyft-hello kodlyft-hello deleted the refactor-Permissions branch June 6, 2026 07:06
@kodlyft-hello

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 2.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants