hello,
i use permissions with users profiles.
i need to hide some tables tabs with users profiles. how do that ?
thanks
hide _tables with permissions
4 posts
• Page 1 of 1
Currently you can't do this.Ê The best way to achieve this sort of thing is to hide the tables menu using preferences: And then make your own menu. -Steve
OK.. you probably could filter this in the getPreferences() method.Ê You can access this array using: $app =& Dataface_Application::getInstance(); $tables =& $app->_conf['_tables']; if (userIsNotAllowedToSeeFooTable()){ ÊÊÊ unset($tables['foo']); }
4 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 30 guests |