Jump to content

Community

Kevin Carwile

+Clients
  • Content Count

    1,234
  • Joined

  • Last visited

  • Days Won

    8

 Content Type 

Profiles

Downloads

IPS4 Documentation

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Article Comments posted by Kevin Carwile


  1. Thanks for the clarification. So in other words, the value assigned to any key in the permission map must be one of ( 'view', 2, 3, 4, 5, 6, or 7). The key may be whatever you want to call it, as long as it has one of those values.


  2.  You are allowed up to 7 different permissions - this property should be an array mapping the keys you want to use (which are used when calling methods like can()) to the columns that will be used to store that permission in the core_permisisons_index table. Each value must either be the string “view” (which is required) or a number between 2 and 7.

     So the values 2 through 7 are alternatives to the strings ('read', 'add', 'download', 'reply', 'review')? This is confusing to me. What exactly are we mapping here.

×
×
  • Create New...