Skip to content

svnty/JavaScript-Forum-Access-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

JavaScript-Forum-Access-Control

Access control for nested JSON forums

Edit the nested group arrays and user group array to see different results

Example of a forums structure

  • ['Public']
    • ['Public', 'Cops']
      • ['Cops']
      • ['Cops', 'CopInteralAffairs']
      • ['Cops', 'CopHumanResources']
    • ['Public, Government']
      • ['Government']
      • ['Government'], ['GovernmentSenate']
      • ['Government', 'GovernmentHouseOfRepresentitives']

User Permissions

A user with the groups of

['Public', 'Cops', 'CopInteralAffairs', 'CopHuamnResources', 'Government', 'GovernmentSenate']

Could see all forums other than GovernmentHouseOfRepresentitives

About

A javascript object prototype to determine access controls to certain nested web-forum areas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors