code: func (pf PermFlag) String() string {
  	switch pf {
  	case AllPermFlags:
  		return AllString
  	case Root:
  		return RootString
  	case Send:
  		return SendString
  	case Call:
  		return CallString
  	case CreateContract:
  		return CreateContractString
  	case CreateAccount:
  		return CreateAccountString
  	case Bond:
  		return BondString
  	case Name:
  		return NameString
  	case Proposal:
  		return ProposalString
  	case Input:
  		return InputString
  	case Batch:
  		return BatchString
  	case HasBase:
  		return HasBaseString
  	case SetBase:
  		return SetBaseString
  	case UnsetBase:
  		return UnsetBaseString
  	case SetGlobal:
  		return SetGlobalString
  	case HasRole:
  		return HasRoleString
  	case AddRole:
  		return AddRoleString
  	case RemoveRole:
  		return RemoveRoleString
  	default:
  		return UnknownString
  	}
  }
docs: // Returns the string name of a single bit non-composite PermFlag, or otherwise UnknownString
  // See BasePermissionsToStringList to generate a string representation of a composite PermFlag