Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Chronos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Chronos
Commits
58cfaaa0
Verified
Commit
58cfaaa0
authored
3 years ago
by
Jonathan Weth
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 116-automatically-create-a-pdf-file-of-the-substitution-plan
parents
aa4cda9a
20a4e32e
Loading
Loading
Loading
Checking pipeline status
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.rst
+9
-3
9 additions, 3 deletions
CHANGELOG.rst
aleksis/apps/chronos/rules.py
+1
-1
1 addition, 1 deletion
aleksis/apps/chronos/rules.py
with
10 additions
and
4 deletions
CHANGELOG.rst
+
9
−
3
View file @
58cfaaa0
...
...
@@ -14,6 +14,14 @@ Added
* Add support for automatically generating PDF files of substitutions plans on data changes.
`2.0rc2`_ - 2021-08-01
----------
Fixed
~~~~~
* Drop usage of non-existing permission in permission rules for lesson substitutions.
`2.0rc1`_ - 2021-06-23
----------------------
...
...
@@ -193,8 +201,6 @@ Fixed
.. _2.0b0: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0b0
.. _2.0b1: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0b1
.. _2.0b2: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0b2
<<<<<<< HEAD
=======
.. _2.0b3: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0b3
.. _2.0rc1: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0rc1
>>>>>>> e039025 (Update the changelog for
2.0rc
1)
.. _2.0rc2: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/
2.0rc
2
This diff is collapsed.
Click to expand it.
aleksis/apps/chronos/rules.py
+
1
−
1
View file @
58cfaaa0
...
...
@@ -44,7 +44,7 @@ add_perm("chronos.delete_substitution_rule", delete_substitution_predicate)
# View substitutions
view_substitutions_predicate
=
has_person
&
(
has_global_perm
(
"
chronos.view_lessonsubstitution
"
)
|
has_any_object
(
"
chronos.view_lessonsubstitution
_rule
"
,
LessonSubstitution
)
|
has_any_object
(
"
chronos.view_lessonsubstitution
"
,
LessonSubstitution
)
)
add_perm
(
"
chronos.view_substitutions_rule
"
,
view_substitutions_predicate
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment