GitHub user naamashoresh opened a pull request: https://github.com/apache/incubator-trafficcontrol/pull/544
Authorization model A new PR instead of #435 with fixes according to comments by @mitchell852 You can merge this pull request into a Git repository by running: $ git pull https://github.com/naamashoresh/incubator-trafficcontrol authorization_model Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-trafficcontrol/pull/544.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 #544 ---- commit 3f863ee60b6c86f327b7f177853e57d466528f0b Author: naamashoresh <naa...@qwilt.com> Date: 2017-05-04T07:26:17Z 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. (cherry picked from commit 4879a2c1138a37786df2fe8652edae3592a4bd12) commit c3ed3420e4cfade43452bc6d7619eea193b290b2 Author: naamashoresh <naa...@qwilt.com> Date: 2017-05-04T07:28:18Z Adding capabilities & api_capalities APIs (cherry picked from commit db31205f6cdae581f072a34347f057441721b31c) commit f46f1e3f133690e410b023594ccbdf368c7830b4 Author: naamashoresh <naa...@qwilt.com> Date: 2017-05-04T07:29:00Z Unit tests for new capabilities & api_capabilities APIs (cherry picked from commit 78f2f846074d61171a88aa78fccccd07ec994686) commit e69ee7f34c646a849a6161fa7af58bfc18e83f0e Author: naamashoresh <naa...@qwilt.com> Date: 2017-05-04T07:30:12Z Documentation for new capabilities & api_capabilities APIs. (cherry picked from commit d79f76c2deb11ffbd3f237d4833bac03d87ca61b) commit f1169d56b55229aae614b8fd5c9e9faa9e615d78 Author: naamashoresh <naa...@qwilt.com> Date: 2017-05-04T11:47:10Z Applying review comments by mitchell852 (cherry picked from commit 0dcee94a32d78da1561038407710662783bed327) ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---