GitHub user naamashoresh opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/435

    Authorization model

    This PR adds basic functionality for implementing authorization in TO (or 
in the API GW).
    It includes:
    - DB tables (capability, apit_capability, role_capability & user_role)
    - Data seeding
    - CRUD APIs for capability & api_capability tables
    - Unit-tests for the new APIs
    - Documentation of the new APIs

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/naamashoresh/incubator-trafficcontrol 
api_capabilities

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/435.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #435
    
----
commit 39f4ba74e28169363d734e9828322610b980bafe
Author: naamashoresh <[email protected]>
Date:   2017-04-06T11:49:50Z

    Authorization model -
    Adding tables: capability (list of available capabilities), api_capability 
mapping, role_capability mapping & user_role.
    Seeding capability & api_capability tables. Also seeding root role.

commit 9d059e9606d2752cd9e0e8b3508420759e5c363e
Author: naamashoresh <[email protected]>
Date:   2017-04-06T11:55:41Z

    Adding capabilities & api_capalities APIs

commit 9edc708d03d846a2a647afe17427040b95b4c423
Author: naamashoresh <[email protected]>
Date:   2017-04-06T11:57:36Z

    Unit tests for new capabilities & api_capabilities APIs

commit 909342f02d359cbf0233d8bae271c6717a6f4d6e
Author: naamashoresh <[email protected]>
Date:   2017-04-06T11:58:25Z

    Documentation for new capabilities & api_capabilities APIs.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to