From d79c85c7af9e0e5628096bfc77bb2ea34ae21e58 Mon Sep 17 00:00:00 2001
From: Wesley B <62723358+wesleyboar@users.noreply.github.com>
Date: Mon, 11 Nov 2024 18:13:48 -0600
Subject: [PATCH 01/13] refactor: simpler syntax for group perms (#894)
* chore: remove unused imports
* refactor: add & use add_perm utility function
* docs: add & use add_perm utility function
* docs: missing spaces
* docs: missing spaces
---
.../management/commands/group_perms/README.md | 14 +-
.../group_perms/media_editor_advanced.py | 168 +++++-------------
.../group_perms/media_editor_basic.py | 82 +++------
.../group_perms/news_writer_advanced.py | 95 +++++-----
.../commands/group_perms/news_writer_basic.py | 59 +++---
.../group_perms/text_editor_advanced.py | 86 +++------
.../commands/group_perms/text_editor_basic.py | 60 ++-----
.../management/commands/group_perms/util.py | 23 +++
.../management/commands/set_group_perms.py | 1 -
9 files changed, 218 insertions(+), 370 deletions(-)
create mode 100644 taccsite_cms/management/commands/group_perms/util.py
diff --git a/taccsite_cms/management/commands/group_perms/README.md b/taccsite_cms/management/commands/group_perms/README.md
index 0d7e86d20..f8d7a0f2f 100644
--- a/taccsite_cms/management/commands/group_perms/README.md
+++ b/taccsite_cms/management/commands/group_perms/README.md
@@ -27,12 +27,10 @@ Use regex to convert the `