You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by mathes waran <ma...@gmail.com> on 2017/06/27 05:14:24 UTC

Not able to view the policy page if default user's policy is deleted

Hi,

For the admin user(default user) in  NIFI,we have the option to delete all
policies as what we want.If I delete* access all policies with read option *,
users and policies tab in context menu of home page are viewed as disabled
state and could not able to view  the list of policies  again.

At the point of time,*How do I  set the  policies again for default user.*?

Please let me know if you have any queries,

Thanks,
Matheswaran. S

Re: Not able to view the policy page if default user's policy is deleted

Posted by Bryan Bende <bb...@gmail.com>.
Hello,

Assuming you are using NiFi's provided file-based authorizer, then you
can always start over by shutting down NiFi and deleting users.xml and
authorizations.xml from all nodes. Upon a restart those files will be
regenerated based on the "Initial Admin" identity provided in
authorizers.xml.

-Bryan


On Tue, Jun 27, 2017 at 1:14 AM, mathes waran <ma...@gmail.com> wrote:
> Hi,
>
> For the admin user(default user) in  NIFI,we have the option to delete all
> policies as what we want.If I delete access all policies with read option ,
> users and policies tab in context menu of home page are viewed as disabled
> state and could not able to view  the list of policies  again.
>
> At the point of time,How do I  set the  policies again for default user.?
>
> Please let me know if you have any queries,
>
> Thanks,
> Matheswaran. S