Bug 37303 - Schooladmin is not supposed to see 'passwordchange' module
Schooladmin is not supposed to see 'passwordchange' module
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 4.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Ammar Najjar
Florian Best
:
Depends on:
Blocks: 34958
  Show dependency treegraph
 
Reported: 2014-12-11 11:52 CET by Ammar Najjar
Modified: 2016-11-03 17:37 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ammar Najjar univentionstaff 2014-12-11 11:52:32 CET
According to this section:
https://hutten.knut.univention.de/mediawiki/index.php/Produkttests_UCS@school_4.0_Berechtigungskonzept

schooladmin should only see the following modules:
[('computerroom', None),
 ('distribution', 'admin'),
 ('helpdesk', None),
 ('internetrules', 'admin'),
 ('internetrules', 'assign'),
 ('lessontimes', None),
 ('printermoderation', None),
 ('schoolexam', None),
 ('schoolgroups', 'class'),
 ('schoolgroups', 'workgroup-admin'),
 ('schoolrooms', None),
 ('schoolusers', 'student'),
 ('schoolusers', 'teacher')]

but it currently sees an additional module ('passwordchange', None)
This makes test script "90_ucsschool.19_available_umc_modules" created for Bug #34958 fail on UCSSchool 4.0 machines.

http://jenkins.knut.univention.de:8080/job/UCSschool%204.0/job/UCSschool%204.0%20Singleserver/lastCompletedBuild/SambaVersion=s4/testReport/90_ucsschool/19_available_umc_modules/test/

### FAIL ###
Modules ([(u'schoolgroups', u'class'), (u'schoolgroups', u'workgroup-admin'), (u'lessontimes', None), (u'internetrules', u'admin'), (u'internetrules', u'assign'), (u'schoolusers', u'student'), (u'schoolusers', u'teacher'), (u'helpdesk', None), (u'passwordchange', None), (u'schoolrooms', None), (u'printermoderation', None), (u'computerroom', None), (u'distribution', u'admin'), (u'schoolexam', None)]) for schooladmin and domaincontroller_master are not correct
###      ###
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-12-12 08:38:27 CET
I'm not sure if "passwordchange" is the UCS@school module or the new global self-service password change functionality.
In both cases this is ok for the school admin. Please change the test script accordingly.
Comment 2 Ammar Najjar univentionstaff 2014-12-12 09:16:58 CET
(In reply to Sönke Schwardt-Krummrich from comment #1)
> Please change the test script accordingly.

Done.
Comment 3 Florian Best univentionstaff 2015-01-15 15:51:44 CET
passwordchange is the new module in UC 4.0 which is used to change the own password.
Fix: OK