Univention Bugzilla – Attachment 8340 Details for
Bug 35076
Control of print share access via computer room module is not working properly (Samba4)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch removes the "Free printing" option
computerroom-printersettings.patch (text/plain), 1.51 KB, created by
Richard Ulmer
on 2017-01-06 12:43:28 CET
(
hide
)
Description:
This patch removes the "Free printing" option
Filename:
MIME Type:
Creator:
Richard Ulmer
Created:
2017-01-06 12:43:28 CET
Size:
1.51 KB
patch
obsolete
>Index: umc/python/computerroom/__init__.py >=================================================================== >--- umc/python/computerroom/__init__.py (Revision 75565) >+++ umc/python/computerroom/__init__.py (Arbeitskopie) >@@ -635,7 +635,7 @@ > _updateRoomInfo(self._italc.roomDN, exam=exam, examDescription=examDescription, examEndTime=examEndTime) > > @sanitize( >- printMode=ChoicesSanitizer(['none', 'all', 'default'], required=True), >+ printMode=ChoicesSanitizer(['none', 'default'], required=True), > internetRule=StringSanitizer(required=True), > shareMode=ChoicesSanitizer(['home', 'all'], required=True), > period=PeriodSanitizer(default='00:00', required=False), >@@ -684,7 +684,7 @@ > hosts = self._italc.ipAddresses(students_only=True) > > # print mode >- if printMode in ('none', 'all'): >+ if printMode in ('none',): > vextract.append('samba/printmode/hosts/%s' % printMode) > vappend[vextract[-1]] = hosts > vextract.append('cups/printmode/hosts/%s' % printMode) >Index: umc/js/computerroom/SettingsDialog.js >=================================================================== >--- umc/js/computerroom/SettingsDialog.js (Revision 75565) >+++ umc/js/computerroom/SettingsDialog.js (Arbeitskopie) >@@ -104,8 +104,7 @@ > label: _('Print mode'), > staticValues: [ > { id: 'default', label: _('Default (global settings)') }, >- { id: 'none', label: _('Printing deactivated') }, >- { id: 'all', label: _('Free printing') } >+ { id: 'none', label: _('Printing deactivated') } > ] > }, { > type: TimeBox,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35076
: 8340