mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
issue 2363 create get grant method by xml api
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11206 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
aa429a63b4
commit
ff608c540a
4 changed files with 75 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
<module>
|
||||
<grants />
|
||||
<permissions>
|
||||
<permission action="getApiGroups" target="manager" />
|
||||
</permissions>
|
||||
<actions>
|
||||
<action name="dispMemberInfo" type="view" standalone="true" />
|
||||
|
|
@ -36,6 +37,7 @@
|
|||
<action name="getMemberAdminColorset" type="model" standalone="true" />
|
||||
<action name="getMemberAdminInsertJoinForm" type="model" />
|
||||
<action name="getMemberAdminIPCheck" type="model" standalone="true" />
|
||||
<action name="getApiGroups" type="model" standalone="true" />
|
||||
|
||||
<action name="procMemberLogin" type="controller" standalone="true" ruleset="@login" />
|
||||
<action name="procMemberLogout" type="controller" standalone="true" />
|
||||
|
|
|
|||
|
|
@ -478,6 +478,14 @@
|
|||
return $GLOBALS['__group_info__'][$site_srl];
|
||||
}
|
||||
|
||||
public function getApiGroups()
|
||||
{
|
||||
$siteSrl = Context::get('siteSrl');
|
||||
$groupInfo = $this->getGroups($siteSrl);
|
||||
|
||||
$this->add($groupInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get a list of member join forms
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue