On Fri, Aug 12, 2016 at 10:58:32PM +0200, Christian Boltz wrote:
> $subject.
> 
> This means adding
> - self.can_edit - True if editing via '(N)ew' should be possible (will
>   be False for bare file rules)
> - edit_header() - returns the prompt text and the current path
> - validate_edit() - checks if the new path matches the original one
> - store_edit() - changes the path to the new one (even if it doesn't
>   match the old one)
> 
> self.can_edit and the 3 functions are also added to BaseRule:
> - can_edit is False by default
> - the functions raise a NotImplementedError
> 
> Also add tests for the added code.
> 
> [ 19-add-support-for-editing-paths-to-FileRule.diff ]

Acked-by: Steve Beattie <st...@nxnw.org>.


-- 
Steve Beattie
<sbeat...@ubuntu.com>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: PGP signature

-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to