Is it a state law ro provide a social security number to get general assistance benefits?
Yes
What if I don't have permission to work?
lawfully admitted noncitizens can get many benefits and services without a social security number