You want to look at that descriptor of who can wear the gear. If it says "All Classes" any class can wear it or in your case use it as a glamour, so long as the item you are using as a base for stats is a higher level or item level than the piece you're trying to glamour into. So you can't glamour a level 5 robe to look like a level 50 robe. But you can glamour a level 50 robe into looking like a level 5 robe.
If the descriptor says Disciple of War/Magic, only Disciples of War/Magic can wear that piece as a glamour. If you're a Botanist, you will not be able to equip or glamour it. If the piece says specifically GLA PLD, only a GLA or PLD will be able to equip the item or glamour it.
In simplest terms, if you cannot equip the item as it is, you cannot glamour it on either. But you can certainly glamour a level 25 robe made from a weaver that says All Classes or Disciples of War/Magic into a level 15 leather jacket or piece of armor that also says All Classes or Disciples of War/Magic.
If the descriptor says Disciple of War/Magic, only Disciples of War/Magic can wear that piece as a glamour. If you're a Botanist, you will not be able to equip or glamour it. If the piece says specifically GLA PLD, only a GLA or PLD will be able to equip the item or glamour it.
In simplest terms, if you cannot equip the item as it is, you cannot glamour it on either. But you can certainly glamour a level 25 robe made from a weaver that says All Classes or Disciples of War/Magic into a level 15 leather jacket or piece of armor that also says All Classes or Disciples of War/Magic.