Create permission list.
Add controllers and views of permission and resource.
Add 'update resource' function.