jeofmoyster
01-10-2007, 01:46 AM
I'm building a new product that requires some administrators have access to it and some not - determined by adminpermissions bit fields.
This is my bitfield_PRODUCT.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<bitfields product="PRODUCTID">
<bitfielddefs>
<group name="ugp">
<group name="adminpermissions">
<bitfield name="myspecificpermission" phrase="PRODUCTID_bitfield_myspecificpermission">1048576</bitfield>
</group>
</group>
</bitfielddefs>
</bitfields>
And while it does add the option to the list of adminpermissions, it seems to take no effect. When it's selected, it activates the last default adminpermission (products and plugins) but I can't seem to make an all-new adminpermission bitfield. How can I do this?
Thanks :)
This is my bitfield_PRODUCT.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<bitfields product="PRODUCTID">
<bitfielddefs>
<group name="ugp">
<group name="adminpermissions">
<bitfield name="myspecificpermission" phrase="PRODUCTID_bitfield_myspecificpermission">1048576</bitfield>
</group>
</group>
</bitfielddefs>
</bitfields>
And while it does add the option to the list of adminpermissions, it seems to take no effect. When it's selected, it activates the last default adminpermission (products and plugins) but I can't seem to make an all-new adminpermission bitfield. How can I do this?
Thanks :)