Finish DDL for permissions, documentation