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

Bertrand Delacretaz commented on SLING-7148:
--------------------------------------------

Thanks Karl, your changes look good, I'd just add a DEBUG log when ignoring 
instructions due to non-existing user or service user.

> Do not fail when disabling or deleting a non existing service user
> ------------------------------------------------------------------
>
>                 Key: SLING-7148
>                 URL: https://issues.apache.org/jira/browse/SLING-7148
>             Project: Sling
>          Issue Type: Improvement
>          Components: Repoinit
>    Affects Versions: Repoinit JCR 1.1.6
>            Reporter: Timothee Maret
>            Assignee: Karl Pauls
>            Priority: Major
>             Fix For: Repoinit JCR 1.1.8
>
>
> SLING-6984 allows to disable service user. The existing implementation does 
> throw an exception if the service user to be disabled does not exist. This 
> prevent to remove the service user for new setups.
> This issue is about allowing to disable a non existing user, by simply 
> logging a warning message rather than throwing an exception.
> cc [~bdelacretaz]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to