Yes, the permission schemes are designed for this.
At the very basic level, they can do a simple "if in group X, allow action Y", but they're a lot more powerful. You can do things like "if in role X for this project, then allow Y", and then put groups into roles.
See https://confluence.atlassian.com/display/JIRA/Managing+Project+Permissions
However, I suspect your question may be more complex than the standard permissions. If my instincts are right, could you explain your requirement futher?
It looks like you're new here. Sign in or register to get started.