use cluster.bucket[name].views!xxx permission for
use cluster.bucket[name].views!xxx permission for

… /bucket/_design/… api's. use cluster.bucket[name].data!xxx
permission for all other api's on api port

Change-Id: I235ebba1285464a27040350364fd3145545568b5
Reviewed-on: http://review.couchbase.org/60463
Tested-by: Artem Stemkovski <15a0730a27c69f62ab86f2b6c639fca202166c02@couchbase.com>
Reviewed-by: Aliaksey Artamonau <3c875bcfb3adf2a65b2ae7686ca921e6c9433147@gmail.com>

ceejatec/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,ceejatec/ns_server,membase/ns_server,ceejatec/ns_server