Mailinglist Archive: yast-devel (81 mails)

< Previous Next >
[yast-devel] [webYaST] what does your plugin do whan user lacks permissions? (bnc#592625)
  • From: Jiří Suchomel <jsuchome@xxxxxxx>
  • Date: Thu, 1 Apr 2010 10:04:43 +0200
  • Message-id: <201004011004.43595.jsuchome@xxxxxxx>
when there's no read permission, selected plugin is not even opened and user
sees an error in the control panel.

When there are no write permissions, we usually open our plugin and just
disable the editable content, but without any message.

I've added shared partial missing_write_permissions, which you can use to
render from your code and that provides the common warning message. It
requires permissions hash as parameters (see webclient commit

Feel free to adapt the text or css style if there's anything wrong with it.


Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups