edit perm functionality was implement (doesn't complete)