Changes

stoney core: REST API

118 bytes removed, 11:07, 1 August 2014
==== Service Provider Person (SPP) Rights ====
A Service Provider Person can just about do anything. The following rights are unique for a Service Provider Person (SPP):
* 20.SPP.000000: '''Create a reseller''': Can create a reseller.* 20.SPP.010001: '''Retrieve all resellers''': Can retrieve all resellers.* 20.SPP.020002: '''Retrieve a reseller''': Can retrieve a reseller.* 20.SPP.030003: '''Update a reseller:''' Can update a reseller.* 20.SPP.040004: '''Partly Update a reseller''': Can partly update a reseller.* 20.SPP.050005: '''Delete reseller''': Can delete a reseller (if no customers, people or services are linked to the reseller).* 20.SPP.060006: '''Create a person''': Can create a person (and make them a super user, an employee of one or more reseller(s) and an employee of one or more reseller(s)).* 20.SPP.070007: '''Retrieve all people''': Can retrieve all people.* 20.SPP.080008: '''Retrieve a person''': Can retrieve a person.* 20.SPP.090009: '''Update a person:''' Can update a person (including making them a super user, an employee of one or more reseller(s) and an employee of one or more reseller(s)).* 20.SPP.100010: '''Partly Update a person''': Can partly update a person.* 20.SPP.110011: '''Delete person''': Can delete a person (if no services are linked to the person).
=== Reseller Employee (RE) ===
==== Reseller Employee (RE) Rights ====
Sees the reseller they belong to, themselves, their own customers, people and their services. The following rights exist for a Reseller Employee (RE) and a Service Provider Person (SPP):
* RE.000000: '''Retrieve some resellers''': Can retrieve the reseller(s) they are an employee of.* RE.010001: '''Retrieve a reseller''': Can retrieve one of the reseller(s) they are an employee of.* RE.020002: '''Update a reseller:''' Can update one of the reseller(s) they are an employee of.* RE.030003: '''Partly Update a reseller''': Can partly update one of the reseller(s) they are an employee of.
* RE.040004: '''Create a customer''': Can create a customer.* RE.050005: '''Retrieve all customers''': Can retrieve all their customers.* RE.060006: '''Retrieve a customer''': Can retrieve one of their customers.* RE.070007: '''Update a customer:''' Can update one of their customers.* RE.080008: '''Partly Update a customer''': Can partly update one of their customers.* RE.090009: '''Delete customer''': Can delete one of their customers (if no people or services are linked to the customer).
* RE.100010: '''Create a person''': Can create a person (including making them an employee of their reseller(s) and of their customer(s)).* RE.110011: '''Retrieve all people''': Can retrieve all their people (of their reseller(s) and their customer(s)).* RE.120012: '''Retrieve a person''': Can retrieve one of their people (of their reseller(s) and their customer(s)).* RE.130013: '''Update a person:''' Can update a person (including making them an employee of their reseller(s) and of their customer(s)).* RE.140014: '''Partly Update a person''': Can partly update a person.* RE.150015: '''Delete person''': Can delete a person (if no services are linked to the person).
=== Customer Employee (CE) ===
==== Customer Employee (CE) Rights ====
Sees the customer they belong to, themselves, their own people and their services. The following rights exist for a Customer Employee (CE), a Reseller Employee (RE) and a Service Provider Person (SPP):
* CE.000000: '''Retrieve some customers''': Can retrieve the customer(s) they are an employee of.* CE.010001: '''Retrieve a customer''': Can retrieve one of the customer(s) they are an employee of.* CE.020002: '''Update a customer:''' Can update one of the customer(s) they are an employee of.* CE.030003: '''Partly Update a customer''': Can partly update one of the customer(s) they are an employee of.
* CE.040004: '''Create a person''': Can create a person (including making them an employee of their customer(s)).* CE.050005: '''Retrieve all people''': Can retrieve all their people (of their customer(s)).* CE.060006: '''Retrieve a person''': Can retrieve one of their people (of their customer(s)).* CE.070007: '''Update a person:''' Can update a person (including making them an employee of their customer(s)).* CE.080008: '''Partly Update a person''': Can partly update a person.* CE.090009: '''Delete person''': Can delete a person (if no services are linked to the person).
=== Reseller Person (P) and Customer Person (P) ===
A Reseller Person (P) and Customer Person (P) act exactly the same. They see themselves and their own services.
Sees the customer they belong to, themselves, their own people and their services. The following rights exist for a Reseller Person (P), a Customer Person (P), a Customer Employee (CE), a Reseller Employee (RE) and a Service Provider Person (SPP):
* P.000000: '''Retrieve a person''': Can retrieve themselves.* P.010001: '''Update a person:''' Can update themselves.* P.020002: '''Partly Update a person''': Can partly update themselves.
= REST API documentation =
SLB, editor, reviewer
3,368
edits