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

ASF GitHub Bot commented on NIFI-1804:
--------------------------------------

Github user mcgilman commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/507#discussion_r66836344
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/src/main/java/org/apache/nifi/authorization/Resources.java
 ---
    @@ -0,0 +1,33 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.nifi.authorization;
    +
    +/**
    + * Constants for resource names.
    + */
    +public class Resources {
    --- End diff --
    
    Probably makes sense to use the ResourceType enum here instead and 
introduce new values for users, groups, and policies.


> Convert authorized-users.xml to authorizations.xml
> --------------------------------------------------
>
>                 Key: NIFI-1804
>                 URL: https://issues.apache.org/jira/browse/NIFI-1804
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Matt Gilman
>            Assignee: Bryan Bende
>             Fix For: 1.0.0
>
>
> Should provide an automated to convert existing authorized-users.xml 
> configuration to the new authorizations.xml configuration.



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

Reply via email to