Resolve "Roles and permissions" #1852
No reviewers
Labels
No labels
Security
TeX
auto-update
board
done
board
ready
board
todo
check
delete-eslint-rc-js
check
update-builddeps-package-json
check
update-eslint-rc-js
check
update-gitignore
check
update-merge-request-template
check
update-prettier-ignore
check
update-pyproject-toml
check
update-renovate-json
check
update-tox-ini
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS-Core!1852
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "25-roles-and-permissions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #25
changed milestone to %"2.0a2"
assigned to @nik
added 2 commits
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 2 commits
Compare with previous version
added 2 commits
Compare with previous version
added 1 commit
Compare with previous version
added 9 commits
master5412ef70- Add django-rules and django-guardian to pyproject.toml38dae130- Add django-rules and django-guardian settings581d8bb8- First try to implement rules6d5d236f- Provide util code for permissions and predicatesaf785889- Add permission rules for Person modela74aeeeb- Use new BaseModelAdmin8fb38b7a- Add permissions for groups viewCompare with previous version
Please remove this change from commit history.
added 73 commits
masterb7d54702- Merge branch 'master' into 25-roles-and-permissionsCompare with previous version
added 1 commit
Compare with previous version
added 1 commit
ab6116aa- Add first permissions for person objectCompare with previous version
added 1 commit
afbab6f5- Add permission for photoCompare with previous version
added 1 commit
1a6070f8- Use django-rules instead of django-guardian in templateCompare with previous version
added 1 commit
47ee8d6f- Adhere to other rules, therefore replace "see" with "view"Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
cd94541a- Add rules that were already mentioned in templateCompare with previous version
added 1 commit
87bb772c- Add migrationCompare with previous version
added 1 commit
Compare with previous version
added 1 commit
75f59c4c- Add permissions for view persons groupsCompare with previous version
added 1 commit
Compare with previous version
added 1 commit
80d113cd- Add rules for all viewsCompare with previous version
changed this line in version 22 of the diff
added 15 commits
135ed457- Add migration for global permission modela4192086- Remove unnecessary django-rules objectgetter import in modelscaa7923b- Change edit_schoolterm permission name to fit right nameCompare with previous version
added 2 commits
Compare with previous version
added 10 commits
81e75233- Fix get_announcement_by_pk argument issuef8b3ba9e- Change "edit" to "change" to fit django standard permissions25cf992e- Changed schoolterm spelling to fit model59fbe282- Fixed announcement permissions typos2b483b36- Rearrange and add "view admin menu" permissionfb95d9d6- Add non-managed model for non-model-related global permissions0bcd3001- Remove unnecessary validator79912be6- Replace admin section validators with django-rules-based custom validators in menuc48d8134- Replace decorators for dashboard and search with django-rules decorators,...7f3a445d- Drop decorators.py since it is not needed anymoreCompare with previous version
Please rename to
is_current_person.Please rename to
has_person.Please use relative imports.
Please use relative imports.
changed this line in version 25 of the diff
added 1 commit
e6206af4- Rename is_person predicate to is_current_personCompare with previous version
added 1 commit
Compare with previous version
changed this line in version 27 of the diff
added 1 commit
041f65d2- Rename has_person_predicate predicate to has_predicateCompare with previous version
added 1 commit
412e0798- Uncomment maintain_default_data classmethodCompare with previous version
changed this line in version 29 of the diff
added 2 commits
Compare with previous version
added 1 commit
75769933- Change absolute imports to relative importsCompare with previous version
resolved all threads
unmarked as a Work In Progress
added 33 commits
master8ff41a99- Merge branch 'master' into 25-roles-and-permissionsCompare with previous version
added 1 commit
e1ae2101- Remove duplicated app from pyprojectCompare with previous version
added 2 commits
5706d3bd- UPdate poetry.lock8e597c57- UPdate DashboardfeedsCompare with previous version
added 3 commits
master2e5ee8de- Merge branch 'master' into 25-roles-and-permissionsCompare with previous version
added 1 commit
b9330396- Remove old importCompare with previous version
added 1 commit
8bc8142c- Silence system check about guardian not being hookedCompare with previous version
added 2 commits
c7770ece- Fix name of rule28fa2009- Merge branch '25-roles-and-permissions' of edugit.org:AlekSIS/official/AlekSIS...Compare with previous version
added 1 commit
Compare with previous version
added 1 commit
f4cb5f1d- Add permission for personal detailsCompare with previous version
The search feature does not respect permissions yet.
Also the sidenav does strange things while searching (a scrollbar appears,…)
added 1 commit
90dee43a- Fix search field flickering bug and hide it if user has no search permissionCompare with previous version
mentioned in merge request !1874
marked as a Work In Progress
added 2 commits
eefc706a- Remove login_required import since it is not required anymore73bbe508- Add permission check for searchCompare with previous version
added 1 commit
526e2874- Reintroduce permission check on searchbar snippetsCompare with previous version
unmarked as a Work In Progress
mentioned in commit
c2439d0279merged