Fix: [ bug #1364 ] Duplicate Id on permission