Skip to content

Commit 0311703

Browse files
committed
Fix shares for new roles.
1 parent c6a600f commit 0311703

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

usr/lib/linuxmuster-webui/plugins/lmn_common/multischool.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,12 @@ def get_share_disabled(share_id):
324324
],
325325
'student': [
326326
home,
327+
],
328+
'parent': [
329+
home,
330+
],
331+
'staff': [
332+
home,
327333
]
328334
}
329335

@@ -338,6 +344,8 @@ def get_share_disabled(share_id):
338344
if not get_share_disabled(share_id):
339345
roles_shares['teacher'].append(standard_share)
340346
roles_shares['student'].append(standard_share)
347+
roles_shares['parent'].append(standard_share)
348+
roles_shares['staff'].append(standard_share)
341349

342350
if not get_share_disabled('students'):
343351
roles_shares['teacher'].append(students)

0 commit comments

Comments
 (0)