Author: lslezak Date: Tue Sep 15 13:58:16 2009 New Revision: 58656 URL: http://svn.opensuse.org/viewcvs/yast?rev=58656&view=rev Log: updated README + arch example Modified: trunk/dbus-server/src/services/namespace_service/doc/dbus_samba_export.README trunk/dbus-server/src/services/namespace_service/doc/example-arch.py Modified: trunk/dbus-server/src/services/namespace_service/doc/dbus_samba_export.README URL: http://svn.opensuse.org/viewcvs/yast/trunk/dbus-server/src/services/namespace_service/doc/dbus_samba_export.README?rev=58656&r1=58655&r2=58656&view=diff ============================================================================== --- trunk/dbus-server/src/services/namespace_service/doc/dbus_samba_export.README (original) +++ trunk/dbus-server/src/services/namespace_service/doc/dbus_samba_export.README Tue Sep 15 13:58:16 2009 @@ -6,6 +6,7 @@ sudo cp dbus_samba_export.desktop /usr/share/kde4/services/ServiceMenus/ sudo cp dbus_samba_export.py /usr/bin sudo cp polkit_helper.py /usr/bin +sudo cp org.opensuse.yast.modules.yapi.samba.policy /usr/share/PolicyKit/policy/ If the Samba server has been configured (by the system administrator) users who have org.opensuse.yast.modules.yapi.samba.addshare PolicyKit authorization can Modified: trunk/dbus-server/src/services/namespace_service/doc/example-arch.py URL: http://svn.opensuse.org/viewcvs/yast/trunk/dbus-server/src/services/namespace_service/doc/example-arch.py?rev=58656&r1=58655&r2=58656&view=diff ============================================================================== --- trunk/dbus-server/src/services/namespace_service/doc/example-arch.py (original) +++ trunk/dbus-server/src/services/namespace_service/doc/example-arch.py Tue Sep 15 13:58:16 2009 @@ -1,6 +1,5 @@ #! /usr/bin/python # example-arch.py -# Test http://svn.opensuse.org/svn/yast/branches/tmp/lslezak/core/dbus/namespace_se... # By default nobody, not even root, can call anything. # Let's grant us a permission for a call for which there is no policyconfig @@ -8,12 +7,7 @@ # As root: # # polkit-auth --user $USER --grant org.opensuse.yast.modules.arch.is-laptop -# Start the service from an xterm. If you let it autostart, it will not -# be able to ask for PolicyKit authorization for --explicit. -# (That's because whe have the polkit logic wrong and -# ask in the server instead of in the client. TODO.) -# As root: -# # /usr/lib/YaST2/bin/yast_modules_dbus_server --disable-timer & +# Revoke the permission (as root): # # polkit-auth --user $USER --revoke org.opensuse.yast.modules.arch.is-laptop import dbus -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org