// decodePrivs decodes DB-ready string into priv map
decodePrivs decodes DB-ready string into priv map
// decodePrivs decodes DB - ready string into priv map
func decodePrivs(s string) map[string]bool {
	ps := strings.Split(s, "|")
	r := make(map[string]bool)
	for i := range ps {
		if ps[i] != "" {
			r[ps[i]] = true
		}
	}
	return r
}
func decodePrivs ( s string ) map [ string ] bool { ps := strings . Split ( s , " " ) r := make ( map [ string ] bool ) for i := range ps { if ps [ i ] != " " { r [ ps [ i ] ] = true } } return r }
decodePrivs decodes DB-ready string into priv map
decodePrivs decodes DB - ready string into priv map