Permission Matrix module provides a UI to add new permissions via User Interface from admin configuration dashboard, which can be used exported as config files and shared and can be used in modules via config parsing.