Hello Chris,

> My question is about how I would add it?

You normally just need to add two functions in your .pm file:
- returnAuthorizeWrite (to handle read/write access)
- returnAuthorizeRead (to handle read-only access)

See Generic switch module [1] as an example.

[1] 
https://github.com/inverse-inc/packetfence/blob/268dd8ce5812e0daf8e83e3fcddd502b1037665a/lib/pf/Switch/Generic.pm

Nicolas Quiniou-Briand
Product Support Engineer

[cid:[email protected]]


Office: +33156696210

Akamai Technologies
145 Broadway
Cambridge, MA 02142


Connect with Us:

[cid:[email protected]]<https://community.akamai.com/> 
[cid:[email protected]] <http://blogs.akamai.com/>  
[cid:[email protected]] <https://twitter.com/akamai>  
[cid:[email protected]] 
<http://www.facebook.com/AkamaiTechnologies>  
[cid:[email protected]] 
<http://www.linkedin.com/company/akamai-technologies>  
[cid:[email protected]] 
<http://www.youtube.com/user/akamaitechnologies?feature=results_main>


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to