Added comparable to permission decorator
fixed addressed concer