ta2edchimp / BattleReporter

Advanced editable BattleReport platform for EVE Online.
1 stars 1 forks source link

User Permissions: Delete #35

Closed ta2edchimp closed 9 years ago

ta2edchimp commented 9 years ago

Fetch a character's role in the BR_OWNERCORP to check if permission to delete BattleReports may be granted.

ta2edchimp commented 9 years ago

It would require configuring a Corporation API-Key providing access to MemberSecurity.

A Call to https://api.eveonline.com/corp/MemberSecurity.xml.aspx?keyID=xxx&vCode=yyy would return something like this:

<result>
    <row characterID="123456789" name="Some Dude">
        <rowset name="roles" key="roleID" columns="roleID,roleName">
            <row roleID="1" roleName="roleDirector"/>
            ...
        </rowset>
        ...
    </row>
</result>

A character's role required to delete BattleReports would be sth. like „Director“ / roleDirector.

ta2edchimp commented 9 years ago

Closed by 433a27c