Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


API documentation for api_plugin_user_realm_auth ?

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Architecture
Author Message
phalek
Cacti User


Joined: 31 Jan 2008
Posts: 157
Location: Kressbronn, Germany

PostPosted: Mon May 19, 2008 6:43 am    Post subject: API documentation for api_plugin_user_realm_auth ? Reply with quote

1st question: Anyone has an idea how that function works ?

It seems to have changed during the API life. the pre 2.x version seemed to return the actaul realm id, whereas the 2.x version just returns "true" or "false".

2nd question: Is the manually set Plugin RealmID actually used anymore ?

Seems like that changed too, PIA 2.x seems to automatically assign realm ids to the plugins, hence the change in the above mentioned function ... ?
Back to top
gthe
Cacti User


Joined: 29 Jul 2006
Posts: 94
Location: RU

PostPosted: Tue May 20, 2008 11:22 pm    Post subject: Reply with quote

I think that this all is made what to leave from rigid instruction Realm_id and possible mess.
One more remark api_plugin_register_realm is processed only at installation of a plugin. I.e. for change of the rights to files it is necessary to reinstall a plugin (with removal of tables)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Architecture All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group