Browse code

permissions: updated docs with parameters for new columns of trusted table

- used for setting priority and regexp matching over r-uri

Emmanuel Schmidbauer authored on 17/06/2015 14:17:07
Showing 2 changed files
... ...
@@ -41,6 +41,13 @@
41 41
 			<email>jh@tutpro.com</email>
42 42
 		</address>
43 43
 		</editor>
44
+		<editor>
45
+		<firstname>Emmanuel</firstname>
46
+		<surname>Schmidbauer</surname>
47
+		<address>
48
+			<email>eschmidbauer@voipxswitch.com</email>
49
+		</address>
50
+		</editor>
44 51
 	</authorgroup>
45 52
 	<copyright>
46 53
 		<year>2003</year>
... ...
@@ -664,6 +664,26 @@ modparam("permissions", "from_col", "regexp")
664 664
 </programlisting>
665 665
 		</example>
666 666
 	</section>
667
+	<section id ="permissions.p.ruri_col">
668
+		<title><varname>ruri_col</varname> (string)</title>
669
+		<para>
670
+		Name of the column trusted table containing a regular
671
+		expression that is matched against the Request URI.
672
+		</para>
673
+		<para>
674
+		<emphasis>
675
+		Default value is <quote>ruri_pattern</quote>.
676
+		</emphasis>
677
+		</para>
678
+		<example>
679
+		<title>Set <varname>ruri_col</varname> parameter</title>
680
+		<programlisting format="linespecific">
681
+...
682
+modparam("permissions", "ruri_col", "regexp")
683
+...
684
+</programlisting>
685
+		</example>
686
+	</section>
667 687
 	<section id ="permissions.p.tag_col">
668 688
 		<title><varname>tag_col</varname> (string)</title>
669 689
 		<para>
... ...
@@ -686,6 +706,26 @@ modparam("permissions", "tag_col", "peer_tag")
686 686
 </programlisting>
687 687
 		</example>
688 688
 	</section>
689
+	<section id ="permissions.p.priority_col">
690
+		<title><varname>priority_col</varname> (integer)</title>
691
+		<para>
692
+		The column name used to store the priority of the corresponding rule from the database
693
+		row.
694
+		</para>
695
+		<para>
696
+		<emphasis>
697
+		Default value is <quote>priority</quote>.
698
+		</emphasis>
699
+		</para>
700
+		<example>
701
+		<title>Set <varname>priority_col</varname> parameter</title>
702
+		<programlisting format="linespecific">
703
+...
704
+modparam("permissions", "priority_col", "column_name")
705
+...
706
+</programlisting>
707
+		</example>
708
+	</section>
689 709
 	<section id ="permissions.p.peer_tag_avp">
690 710
 		<title><varname>peer_tag_avp</varname> (AVP string)</title>
691 711
 		<para>