updates to privilege actions

Ready for merge.