Changed back so only owners of a stack can edit.
Created tests.