[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 214: htmlspecialchars(): charset `' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 216: htmlspecialchars(): charset `' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 87: htmlspecialchars(): charset `' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 129: htmlspecialchars(): charset `' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 130: htmlspecialchars(): charset `' not supported, assuming utf-8
[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1685: htmlspecialchars(): charset `' not supported, assuming utf-8
PROMOTIC FORUM • View topic - Viditelnost dle přihlášeného uživatele

Viditelnost dle přihlášeného uživatele

Toto je hlavní technické fórum pro diskusi o problémech při vytváření PROMOTIC aplikací a jejich řešení.

Viditelnost dle přihlášeného uživatele

Postby Libor » Tue 19. Feb 2013 10:09:57

Hezký den,

prosím o radu, jakým nejlepším způsobem lze nastavit viditelnost dle přihlášeného uživatele. Mám 2 uživatele - oper a admin. Chci, aby tlačítko viděl pouze admin. Jakou vazbu mám použít.

Děkuji.

Libor
Libor
 
Posts: 26
Joined: Thu 07. Feb 2013 8:23:08

Re: Viditelnost dle přihlášeného uživatele

Postby Tomáš Bräuer » Tue 19. Feb 2013 16:05:31

Konfigurátor "Viditelný" viz http://www.promotic.eu/cz/pmdoc/Objects ... g/Item.htm ,
tam zvolíte vazbu k tomu určenou UP (User property) a vyberete vlastnost TestInGroup a zadáte jméno skupiny uživatelů, na kterou to chcete chránit, ve vašem případě asi:

TestInGroup("$ADMIN")
Tomáš Bräuer
Administrátor
 
Posts: 153
Joined: Thu 13. Dec 2012 9:13:13


Return to Nevím jak...

Who is online

Users browsing this forum: No registered users and 3 guests