Kubernetes RBAC

we are running application pods and db pods in default namespace. Application pods are using deployment and db applications are using Statefulset. we need to provide all access to application pods for developers and only particular people should have access to db applications. is there a way to do with the resourceNames with role feature?