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

Karl Pauls commented on SLING-7148:
-----------------------------------

As there was some discussion about it in  SLING-6984 and as it seems to make 
sense I'll make it so that we will turn both, deleting and disabling of users 
that don't exist into a noop rather than an exception.

> 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