ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-13865) Add authorizations to permissions so that the definition of a permission (or role) is explicit
Date Wed, 18 Nov 2015 21:34:11 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-13865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15012028#comment-15012028
] 

Hudson commented on AMBARI-13865:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3863 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3863/])
AMBARI-13865. Add authorizations to permissions so that the definition (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d08107d70a71932a92fb9b7dc0b7652f0c365be7])
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UserAuthorizationResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UserAuthorizationResourceProvider.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RoleAuthorizationResourceProviderTest.java
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RoleAuthorizationResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RoleAuthorizationEntity.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog220Test.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/RoleAuthorizationDAO.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/PermissionEntity.java
* ambari-server/src/main/resources/META-INF/persistence.xml
* ambari-server/src/test/java/org/apache/ambari/server/api/services/UserAuthorizationServiceTest.java
* ambari-server/src/test/java/org/apache/ambari/server/api/services/RoleAuthorizationServiceTest.java
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* ambari-server/src/main/java/org/apache/ambari/server/api/services/UserAuthorizationService.java
* ambari-server/src/main/java/org/apache/ambari/server/api/services/RoleAuthorizationService.java
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog220.java


> Add authorizations to permissions so that the definition of a permission (or role) is
explicit
> ----------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13865
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13865
>             Project: Ambari
>          Issue Type: Task
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: rbac
>         Attachments: AMBARI-13865_trunk_01.patch, AMBARI-13865_trunk_02.patch, AMBARI-13865_trunk_03.patch
>
>
> Add authorizations to permissions so that the definition of a permission (or role) is
explicit.
> A new table needs to be created to store the _authorizations_:
> {code}
> TABLE roleauthorization (
>   authorization_id VARCHAR(100) NOT NULL,
>   authorization_name VARCHAR(255) NOT NULL,
>   resource_type_id INTEGER NOT NULL,
>   PRIMARY KEY(authorization_id)
> )
> {code}
> A new table needs to be added to map _authorizations_ to _permissions_
> {code}
> TABLE permission_roleauthorization (
>   permission_id BIGINT NOT NULL,
>   authorization_id VARCHAR(100) NOT NULL,
>   PRIMARY KEY(permission_id, authorization_id)
> );
> {code}
> A new Entity needs to be created to hold the authorization record data ({{org.apache.ambari.server.orm.entities.AuthorizationEntity}}).
> The existing PermissionEntity {{org.apache.ambari.server.orm.entities.PermissionEntity}}
needs to be updated to include AuthorizationEntities.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message