When constructing permission name, remove digits at the end
Merge pull request #16 from mkaply/master

When constructing permission name, remove digits at the end