A permission system based on a trie like datastructure