[PR #72] [MERGED] Server/workstation policies #3470

Closed
opened 2026-03-14 07:21:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/tacticalrmm/pull/72
Author: @sadnub
Created: 8/26/2020
Status: Merged
Merged: 8/26/2020
Merged by: @wh1te909

Base: developHead: server-policies


📝 Commits (6)

  • 0a6ff54 modify database for workstation/server policies
  • a41f02b server/workstation policies addition
  • 6f02f09 bump app version
  • 5909af9 fix vue error in related policies
  • b4a2b7f added related_agent method to policy
  • 42a6bfb Fix error message when trying to enable alerts on policy check from agents table

📊 Changes

16 files changed (+888 additions, -244 deletions)

View changed files

📝 api/tacticalrmm/automation/models.py (+62 -12)
📝 api/tacticalrmm/automation/serializers.py (+30 -6)
📝 api/tacticalrmm/automation/tasks.py (+8 -4)
📝 api/tacticalrmm/automation/tests.py (+215 -57)
📝 api/tacticalrmm/automation/views.py (+191 -47)
api/tacticalrmm/clients/migrations/0004_auto_20200821_2115.py (+43 -0)
📝 api/tacticalrmm/clients/models.py (+20 -4)
📝 api/tacticalrmm/tacticalrmm/settings.py (+1 -1)
📝 api/tacticalrmm/tacticalrmm/test.py (+17 -16)
📝 web/src/components/ChecksTab.vue (+9 -3)
📝 web/src/components/automation/PolicyOverview.vue (+46 -14)
📝 web/src/components/automation/modals/PolicyAdd.vue (+99 -21)
📝 web/src/components/automation/modals/RelationsView.vue (+37 -6)
📝 web/test/jest/__tests__/automation/policyadd.spec.js (+37 -12)
📝 web/test/jest/__tests__/automation/policyoverview.spec.js (+21 -11)
📝 web/test/jest/__tests__/automation/relationview.spec.js (+52 -30)

📄 Description

This allows the apply policies to workstations or servers from the client/site level. The currently applied policies will be erased and will need to be applied again though due to the schema changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amidaware/tacticalrmm/pull/72 **Author:** [@sadnub](https://github.com/sadnub) **Created:** 8/26/2020 **Status:** ✅ Merged **Merged:** 8/26/2020 **Merged by:** [@wh1te909](https://github.com/wh1te909) **Base:** `develop` ← **Head:** `server-policies` --- ### 📝 Commits (6) - [`0a6ff54`](https://github.com/amidaware/tacticalrmm/commit/0a6ff54497295057efba6aabffaebc092edc932e) modify database for workstation/server policies - [`a41f02b`](https://github.com/amidaware/tacticalrmm/commit/a41f02bfd99d91712f232ee5ec8771591b2151bc) server/workstation policies addition - [`6f02f09`](https://github.com/amidaware/tacticalrmm/commit/6f02f0940d14846ac0c57ae660bbead52d640e1c) bump app version - [`5909af9`](https://github.com/amidaware/tacticalrmm/commit/5909af9767c2b566f7de59d550016d7848460299) fix vue error in related policies - [`b4a2b7f`](https://github.com/amidaware/tacticalrmm/commit/b4a2b7fb10fae3b3524cccc23ef50670b687a21d) added related_agent method to policy - [`42a6bfb`](https://github.com/amidaware/tacticalrmm/commit/42a6bfbd280cb0c0a9729c28c4e6af5dec0ba92d) Fix error message when trying to enable alerts on policy check from agents table ### 📊 Changes **16 files changed** (+888 additions, -244 deletions) <details> <summary>View changed files</summary> 📝 `api/tacticalrmm/automation/models.py` (+62 -12) 📝 `api/tacticalrmm/automation/serializers.py` (+30 -6) 📝 `api/tacticalrmm/automation/tasks.py` (+8 -4) 📝 `api/tacticalrmm/automation/tests.py` (+215 -57) 📝 `api/tacticalrmm/automation/views.py` (+191 -47) ➕ `api/tacticalrmm/clients/migrations/0004_auto_20200821_2115.py` (+43 -0) 📝 `api/tacticalrmm/clients/models.py` (+20 -4) 📝 `api/tacticalrmm/tacticalrmm/settings.py` (+1 -1) 📝 `api/tacticalrmm/tacticalrmm/test.py` (+17 -16) 📝 `web/src/components/ChecksTab.vue` (+9 -3) 📝 `web/src/components/automation/PolicyOverview.vue` (+46 -14) 📝 `web/src/components/automation/modals/PolicyAdd.vue` (+99 -21) 📝 `web/src/components/automation/modals/RelationsView.vue` (+37 -6) 📝 `web/test/jest/__tests__/automation/policyadd.spec.js` (+37 -12) 📝 `web/test/jest/__tests__/automation/policyoverview.spec.js` (+21 -11) 📝 `web/test/jest/__tests__/automation/relationview.spec.js` (+52 -30) </details> ### 📄 Description This allows the apply policies to workstations or servers from the client/site level. The currently applied policies will be erased and will need to be applied again though due to the schema changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 07:21:56 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#3470
No description provided.