telefonicaid / fiware-cosmos

fiware-cosmos toolkit for administration and support. Includes Sahara plugin
GNU Affero General Public License v3.0
11 stars 15 forks source link

bug/207_restrict_access_to_accounts_made_by_prefixes #209

Closed pcoello25 closed 7 years ago

pcoello25 commented 7 years ago
$ curl -X GET "http://localhost:14000/webhdfs/v1/user/pcoello25654?op=liststatus&user.name=pcoello25" -H "X-Auth-Token: xxxxxxxxxxxxxxx"
Authorization error: user pcoello25 cannot access /webhdfs/v1/user/pcoello25654

info: pcoello25 is trying to access to /webhdfs/v1/user/pcoello25654 with the token xxxxxxxxxxxxxxx
error: Authorization error: user pcoello25 is not allowed to access /webhdfs/v1/user/pcoello25654
frbattid commented 7 years ago

LGTM