OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.app.JSClient.TUINavigation Class Reference

Load navigation from UINavigation.yml and return as json specific for this user, disabling parts that he does not have access to More...

Public Member Functions

bool HasAccessPermission (XmlNode ANode, TPetraPrincipal AUserInfo)
 checks if the user has access to the navigation node More...
 
XmlNode BuildNavigationXml ()
 build an XML document with the navigation More...
 
Dictionary< string, object > LoadNavigationUI ()
 load the navigation ready to be converted to JSON More...
 

Detailed Description

Load navigation from UINavigation.yml and return as json specific for this user, disabling parts that he does not have access to

Member Function Documentation

◆ BuildNavigationXml()

XmlNode Ict.Petra.Server.app.JSClient.TUINavigation.BuildNavigationXml ( )
inline

build an XML document with the navigation

◆ HasAccessPermission()

bool Ict.Petra.Server.app.JSClient.TUINavigation.HasAccessPermission ( XmlNode  ANode,
TPetraPrincipal  AUserInfo 
)
inline

checks if the user has access to the navigation node

◆ LoadNavigationUI()

Dictionary< string, object > Ict.Petra.Server.app.JSClient.TUINavigation.LoadNavigationUI ( )
inline

load the navigation ready to be converted to JSON


The documentation for this class was generated from the following file: