add_role


Description:

public void add_role (string role, string fieldname, ...)

A convenience method to add role with fieldname and additional arguments to the permissions of this.

If this had no permissions, new permissions will be created and the role will be added to it.

Parameters:

this

a MediaFactory

role

a role

fieldname

the first field name

...

additional arguments