Fix so you that member permissions can be used with the library.
merged pull request JustAdam manually