Skip to content

Commit

Permalink
Merge branch 'master' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
randlet committed Mar 6, 2023
2 parents 9bf09b8 + 3694658 commit 4cb1d97
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/install/linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ QATrack+. To checkout the code enter the following commands:
cd web
git clone https://github.com/qatrackplus/qatrackplus.git
cd qatrackplus
git checkout v3.1.1
git checkout v3.1.1.1
Installing a Database System
Expand Down
2 changes: 1 addition & 1 deletion docs/install/linux_upgrade_from_030.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ following commands:
cd ~/web/qatrackplus
git remote set-url origin https://github.com/qatrackplus/qatrackplus.git
git fetch origin
git checkout v3.1.1
git checkout v3.1.1.1
Setting up our Python environment (including virtualenv)
Expand Down
2 changes: 1 addition & 1 deletion docs/install/win.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ We're now ready to install all the libraries QATrack+ depends on.
.\venvs\qatrack31\Scripts\Activate.ps1
python -m pip install --upgrade pip
cd qatrackplus
git checkout v3.1.1
git checkout v3.1.1.1
pip install -r requirements\win.txt
Expand Down
2 changes: 1 addition & 1 deletion docs/install/win_upgrade_from_030.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ First we must check out the code for version 3.1.1 in a PowerShell window:
cd C:\deploy\qatrackplus
git remote set-url origin https://github.com/qatrackplus/qatrackplus.git
git fetch origin
git checkout v3.1.1
git checkout v3.1.1.1
Setting up our Python environment (including virtualenv)
Expand Down
6 changes: 6 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Release Notes
=============


QATrack+ v3.1.1.1 Release Notes
-------------------------------
* Fixed a permission check bug for users creating service event templates


QATrack+ v3.1.1 Release Notes
-----------------------------

Expand Down
2 changes: 1 addition & 1 deletion qatrack/service_log/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ def handle_unit_down_time(request):

class CreateServiceEventTemplateAjax(JSONResponseMixin, PermissionRequiredMixin, BaseCreateView):

permission_required = 'add_serviceeventtemplate'
permission_required = 'service_log.add_serviceeventtemplate'
model = sl_models.ServiceEventTemplate
form_class = forms.ServiceEventTemplateForm

Expand Down
2 changes: 1 addition & 1 deletion qatrack/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

LOG_ROOT = os.path.join(PROJECT_ROOT, "..", "logs")

VERSION = "3.1.1"
VERSION = "3.1.1.1"
BUG_REPORT_URL = "https://github.com/qatrackplus/qatrackplus/issues/new"
FEATURE_REQUEST_URL = BUG_REPORT_URL

Expand Down
2 changes: 1 addition & 1 deletion qatrack/units/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def handle_unit_available_time_edit(request):
return get_unit_available_time_data(request)


@permission_required('change_unitavailabletime')
@permission_required('units.change_unitavailabletime')
@csrf_protect
def delete_schedules(request):

Expand Down

0 comments on commit 4cb1d97

Please sign in to comment.