Recv/lib/authtokens.js

15 lines
301 B
JavaScript
Raw Normal View History

const AuthTokens = {
ManageUsers: 'manageUsers',
ViewAllUploads: 'viewAllUploads',
ViewAllCodes: 'viewAllCodes'
}
var all = [];
for (var key in AuthTokens)
{
if (AuthTokens.hasOwnProperty(key))
all.push(AuthTokens[key]);
}
AuthTokens.all = all;
module.exports = AuthTokens;